Ticket #5251: show_in_web.diff
File show_in_web.diff, 677 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/sites.py
123 123 return self.password_change_done(request) 124 124 elif url == 'jsi18n': 125 125 return self.i18n_javascript(request) 126 # urls starting with 'r/' are for the "show in web" links 127 elif url.startswith('r/'): 128 from django.views.defaults import shortcut 129 return shortcut(request, *url.split('/')[1:]) 126 130 else: 127 131 match = USER_CHANGE_PASSWORD_URL_RE.match(url) 128 132 if match: