Ticket #4516: handle_url.diff
File handle_url.diff, 682 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/options.py
132 132 raise ImproperlyConfigured("Put 'django.core.context_processors.auth' in your TEMPLATE_CONTEXT_PROCESSORS setting in order to use the admin application.") 133 133 134 134 # Delegate to the appropriate method, based on the URL. 135 return self.handle_url(request, url) 136 137 def handle_url(self, request, url): 135 138 if url is None: 136 139 return self.changelist_view(request) 137 140 elif url.endswith('add'):