diff options
author | eliott <eliott@cactuswax.net> | 2007-12-30 00:07:19 +0100 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2007-12-30 00:07:19 +0100 |
commit | c1063478aa989685b300c383580fc4ffc8b89f27 (patch) | |
tree | 1b04ff152d3e2d3bd261e4a797e5862c1eb30f70 | |
parent | 28bc93261ef027d5c175de3d87c15b818543e151 (diff) | |
download | archweb-c1063478aa989685b300c383580fc4ffc8b89f27.tar.gz archweb-c1063478aa989685b300c383580fc4ffc8b89f27.tar.xz |
Moved common to public
-rw-r--r-- | common/templatetags/__init__.py | 0 | ||||
-rw-r--r-- | public/models.py (renamed from common/models.py) | 0 | ||||
-rw-r--r-- | public/templatetags/__init__.py (renamed from common/__init__.py) | 0 | ||||
-rw-r--r-- | public/templatetags/validation.py (renamed from common/templatetags/validation.py) | 0 | ||||
-rw-r--r-- | public/views.py | 2 | ||||
-rw-r--r-- | settings.py | 3 |
6 files changed, 2 insertions, 3 deletions
diff --git a/common/templatetags/__init__.py b/common/templatetags/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/common/templatetags/__init__.py +++ /dev/null diff --git a/common/models.py b/public/models.py index 883675b..883675b 100644 --- a/common/models.py +++ b/public/models.py diff --git a/common/__init__.py b/public/templatetags/__init__.py index e69de29..e69de29 100644 --- a/common/__init__.py +++ b/public/templatetags/__init__.py diff --git a/common/templatetags/validation.py b/public/templatetags/validation.py index 40c48da..40c48da 100644 --- a/common/templatetags/validation.py +++ b/public/templatetags/validation.py diff --git a/public/views.py b/public/views.py index 63dda5e..6c69831 100644 --- a/public/views.py +++ b/public/views.py @@ -4,7 +4,7 @@ from django.contrib.auth.models import User from archweb_dev.packages.models import Package, Repo from archweb_dev.news.models import News from archweb_dev.settings import DATA_DIR -from archweb_dev.common.models import Donator, Mirror +from archweb_dev.public.models import Donator, Mirror def index(request): # get the most recent 10 news items diff --git a/settings.py b/settings.py index 8a85c98..1c858ea 100644 --- a/settings.py +++ b/settings.py @@ -75,7 +75,7 @@ TEMPLATE_DIRS = ( # Set django's User stuff to use our profile model # format is app.model -AUTH_PROFILE_MODULE = 'common.UserProfile' +AUTH_PROFILE_MODULE = 'public.UserProfile' INSTALLED_APPS = ( 'django.contrib.auth', @@ -83,7 +83,6 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', - 'archweb_dev.common', 'archweb_dev.news', 'archweb_dev.packages', 'archweb_dev.public', |