diff options
author | Dan McGee <dan@archlinux.org> | 2010-01-31 20:17:03 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-01-31 20:17:03 +0100 |
commit | b48f5ae17ad6c1d6b446509a065678ffcfa13582 (patch) | |
tree | 59b346787f905c5645573b3084b51fbab9f482ff | |
parent | d94a09620a203d3e14c464ce92a0864ed7367409 (diff) | |
download | archweb-b48f5ae17ad6c1d6b446509a065678ffcfa13582.tar.gz archweb-b48f5ae17ad6c1d6b446509a065678ffcfa13582.tar.xz |
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.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/settings.py b/settings.py index 8ae416a..75d97aa 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: |