Basic group profile and web/logo/description fields of the Group model
[xnet] / xnet / settings.py
index cc5b9b8..595dd99 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
@@ -142,6 +142,7 @@ INSTALLED_APPS = (
     'django_authgroupex',
     'xnet.site',
     'xnet.accounts',
+    'xnet.news',
     'xnet.example',
 )