Fix Membership.__unicode__.
[xnet] / xnet / settings.py
index cc5b9b8..4260933 100644 (file)
@@ -65,12 +65,12 @@ USE_TZ = True
 
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Example: "/home/media/media.lawrence.com/media/"
-MEDIA_ROOT = ''
+MEDIA_ROOT = os.path.join(ROOT_DIR, 'media')
 
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
 # trailing slash.
 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
-MEDIA_URL = ''
+MEDIA_URL = '/media/'
 
 # Absolute path to the directory static files should be collected to.
 # Don't put anything in this directory yourself; store your static files
@@ -140,8 +140,11 @@ INSTALLED_APPS = (
     'django.contrib.admin',
 
     'django_authgroupex',
+    'crispy_forms',
     'xnet.site',
     'xnet.accounts',
+    'xnet.news',
+    'xnet.events',
     'xnet.example',
 )
 
@@ -173,3 +176,5 @@ LOGGING = {
         },
     }
 }
+
+CRISPY_TEMPLATE_PACK = 'bootstrap'