From 0bc849ff89bc7cbc4e9133df297de3542240a21a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 14 Jul 2005 18:20:03 +0000 Subject: [PATCH] Created django.contrib and moved comments into it git-svn-id: http://code.djangoproject.com/svn/django/trunk@28 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/{views/comments => contrib}/__init__.py | 0 django/contrib/comments/__init__.py | 0 django/contrib/comments/models/__init__.py | 1 + django/{ => contrib/comments}/models/comments.py | 0 django/contrib/comments/templatetags/__init__.py | 0 django/{ => contrib/comments}/templatetags/comments.py | 0 django/contrib/comments/urls/__init__.py | 0 django/{conf => contrib/comments}/urls/comments.py | 0 django/contrib/comments/views/__init__.py | 0 django/{views/comments => contrib/comments/views}/comments.py | 0 django/{views/comments => contrib/comments/views}/karma.py | 0 django/{views/comments => contrib/comments/views}/userflags.py | 0 django/models/__init__.py | 2 +- 13 files changed, 2 insertions(+), 1 deletion(-) rename django/{views/comments => contrib}/__init__.py (100%) create mode 100644 django/contrib/comments/__init__.py create mode 100644 django/contrib/comments/models/__init__.py rename django/{ => contrib/comments}/models/comments.py (100%) create mode 100644 django/contrib/comments/templatetags/__init__.py rename django/{ => contrib/comments}/templatetags/comments.py (100%) create mode 100644 django/contrib/comments/urls/__init__.py rename django/{conf => contrib/comments}/urls/comments.py (100%) create mode 100644 django/contrib/comments/views/__init__.py rename django/{views/comments => contrib/comments/views}/comments.py (100%) rename django/{views/comments => contrib/comments/views}/karma.py (100%) rename django/{views/comments => contrib/comments/views}/userflags.py (100%) diff --git a/django/views/comments/__init__.py b/django/contrib/__init__.py similarity index 100% rename from django/views/comments/__init__.py rename to django/contrib/__init__.py diff --git a/django/contrib/comments/__init__.py b/django/contrib/comments/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/django/contrib/comments/models/__init__.py b/django/contrib/comments/models/__init__.py new file mode 100644 index 0000000000..2bf3cc96cc --- /dev/null +++ b/django/contrib/comments/models/__init__.py @@ -0,0 +1 @@ +__all__ = ['comments'] diff --git a/django/models/comments.py b/django/contrib/comments/models/comments.py similarity index 100% rename from django/models/comments.py rename to django/contrib/comments/models/comments.py diff --git a/django/contrib/comments/templatetags/__init__.py b/django/contrib/comments/templatetags/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/django/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py similarity index 100% rename from django/templatetags/comments.py rename to django/contrib/comments/templatetags/comments.py diff --git a/django/contrib/comments/urls/__init__.py b/django/contrib/comments/urls/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/django/conf/urls/comments.py b/django/contrib/comments/urls/comments.py similarity index 100% rename from django/conf/urls/comments.py rename to django/contrib/comments/urls/comments.py diff --git a/django/contrib/comments/views/__init__.py b/django/contrib/comments/views/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/django/views/comments/comments.py b/django/contrib/comments/views/comments.py similarity index 100% rename from django/views/comments/comments.py rename to django/contrib/comments/views/comments.py diff --git a/django/views/comments/karma.py b/django/contrib/comments/views/karma.py similarity index 100% rename from django/views/comments/karma.py rename to django/contrib/comments/views/karma.py diff --git a/django/views/comments/userflags.py b/django/contrib/comments/views/userflags.py similarity index 100% rename from django/views/comments/userflags.py rename to django/contrib/comments/views/userflags.py diff --git a/django/models/__init__.py b/django/models/__init__.py index 63cedc9af1..b4a1d75617 100644 --- a/django/models/__init__.py +++ b/django/models/__init__.py @@ -1,6 +1,6 @@ from django.core import meta -__all__ = ['auth', 'comments', 'core'] +__all__ = ['auth', 'core'] # Alter this package's __path__ variable so that calling code can import models # from "django.models" even though the model code doesn't physically live