From c1063478aa989685b300c383580fc4ffc8b89f27 Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 29 Dec 2007 15:07:19 -0800 Subject: [PATCH] Moved common to public --- common/templatetags/__init__.py | 0 {common => public}/models.py | 0 {common => public/templatetags}/__init__.py | 0 {common => public}/templatetags/validation.py | 0 public/views.py | 2 +- settings.py | 3 +-- 6 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 common/templatetags/__init__.py rename {common => public}/models.py (100%) rename {common => public/templatetags}/__init__.py (100%) rename {common => public}/templatetags/validation.py (100%) diff --git a/common/templatetags/__init__.py b/common/templatetags/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/common/models.py b/public/models.py similarity index 100% rename from common/models.py rename to public/models.py diff --git a/common/__init__.py b/public/templatetags/__init__.py similarity index 100% rename from common/__init__.py rename to public/templatetags/__init__.py diff --git a/common/templatetags/validation.py b/public/templatetags/validation.py similarity index 100% rename from common/templatetags/validation.py rename to 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', -- 2.11.4.GIT