summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 13:17:03 -0600
committerDan McGee <dan@archlinux.org>2010-01-31 13:17:03 -0600
commitb48f5ae17ad6c1d6b446509a065678ffcfa13582 (patch)
tree59b346787f905c5645573b3084b51fbab9f482ff
parentd94a09620a203d3e14c464ce92a0864ed7367409 (diff)
Make all app name inclusions relative
No need to slap 'archweb' in all of these in the settings file. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--settings.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/settings.py b/settings.py
index 8ae416a1..75d97aaf 100644
--- a/settings.py
+++ b/settings.py
@@ -49,13 +49,13 @@ MIDDLEWARE_CLASSES = (
'django.middleware.http.ConditionalGetMiddleware',
"django.middleware.common.CommonMiddleware",
"django.middleware.doc.XViewMiddleware",
- "archweb.main.middleware.AutoUserMiddleware",
+ "main.middleware.AutoUserMiddleware",
'django.middleware.cache.FetchFromCacheMiddleware',
)
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
-ROOT_URLCONF = 'archweb.urls'
+ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates".
@@ -74,13 +74,13 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.admin',
- 'archweb.main', # contains shared models and libs
- 'archweb.mirrors',
- 'archweb.news',
- 'archweb.packages',
- 'archweb.todolists',
- 'archweb.devel',
- 'archweb.public',
+ 'main', # contains shared models and libs
+ 'mirrors',
+ 'news',
+ 'packages',
+ 'todolists',
+ 'devel',
+ 'public',
)
# vim: set ts=4 sw=4 et: