From f9019a7a7bcfc5dbc8f718fa243f1edcc26e03e8 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 19 Jan 2007 03:43:09 +0000 Subject: [PATCH] newforms-admin: Renamed ModelAdmin.change_list_view() to ModelAdmin.changelist_view() to be consistent with other methods (no underscore) git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4352 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 6dded61960..6b17dbbb60 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -102,7 +102,7 @@ class ModelAdmin(object): # Delegate to the appropriate method, based on the URL. if url is None: - return self.change_list_view(request) + return self.changelist_view(request) elif url.endswith('add'): return self.add_view(request) elif url.endswith('history'): @@ -323,7 +323,7 @@ class ModelAdmin(object): }) return render_change_form(self, model, manipulator, c, change=True) - def change_list_view(self, request): + def changelist_view(self, request): "The 'change list' admin view for this model." from django.contrib.admin.views.main import ChangeList, ERROR_FLAG opts = self.model._meta