summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2008-03-30 23:57:28 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2008-03-30 23:57:28 +0000
commit2b28a32ab6db730faafb09ae7226b0a6358b5c6e (patch)
tree890eebc3dc9009dfe100f9893cec7890bf91d882
parent613c391461cec08786c6ecfdfb287c740d47b1e4 (diff)
newforms-admin: Backed out [7390]. That shouldn't have been checked in yet. dcommit foul.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/admin/views/new.py52
1 files changed, 0 insertions, 52 deletions
diff --git a/django/contrib/admin/views/new.py b/django/contrib/admin/views/new.py
deleted file mode 100644
index ee99fcf1c2..0000000000
--- a/django/contrib/admin/views/new.py
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-class ChangeList(BaseView):
- """
- The admin change list view.
-
- Templates::
- ``<app_label>/<model_name>/change_list.html``
- ``<app_label>/change_list.html``
- ``admin/change_list.html``
- Context::
- object_list
-
- paginator
-
- page_obj
- """
- def __init__(self, queryset=None, fields=None, filter_fields=None,
- search_fields=None, date_hierarchy=None):
- self.fields = fields
- self.filter_fields = filter_fields
- self.search_fields = search_fields
- self.date_hierarchy = date_hierarchy
- super(ChangeList, self).__init__(queryset)
-
- def __call__(self, request):
- pass
-
- def get_template(self, request, obj=None):
- opts = self.model._meta
- template_path = [
- 'admin/%s/%s/change_list.html' % (app_label, opts.object_name.lower()),
- 'admin/%s/change_list.html' % app_label,
- 'admin/change_list.html'
- ]
- return loader.find_template(template_path)
-
-class EditView(BaseDetailView):
- def get_template(self, request, obj=None):
- opts = self.model._meta
- template_path = [
- 'admin/%s/%s/change_list.html' % (app_label, opts.object_name.lower()),
- 'admin/%s/change_list.html' % app_label,
- 'admin/change_list.html'
- ]
- return loader.find_template(template_path)
-
-class DeleteView(BaseDetailView):
- pass
-
-class HistoryView(BaseDetailView):
- pass \ No newline at end of file