From eb351ac9cba2d6b2750aecb4353ba482d6dca87f Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 24 Apr 2012 19:55:52 +0000 Subject: [PATCH] Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17934 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/500.html | 1 - .../admin/templates/admin/app_index.html | 1 - .../admin/auth/user/change_password.html | 1 - .../contrib/admin/templates/admin/base.html | 2 +- .../admin/templates/admin/change_form.html | 1 - .../admin/templates/admin/change_list.html | 1 - .../templates/admin/delete_confirmation.html | 1 - .../admin/delete_selected_confirmation.html | 1 - .../admin/templates/admin/invalid_setup.html | 1 - .../contrib/admin/templates/admin/login.html | 1 - .../admin/templates/admin/object_history.html | 1 - .../templates/registration/logged_out.html | 1 - .../registration/password_change_done.html | 1 - .../registration/password_change_form.html | 1 - .../registration/password_reset_complete.html | 1 - .../registration/password_reset_confirm.html | 1 - .../registration/password_reset_done.html | 1 - .../registration/password_reset_email.html | 2 +- .../registration/password_reset_form.html | 1 - .../templates/admin_doc/bookmarklets.html | 1 - .../admindocs/templates/admin_doc/index.html | 1 - .../templates/admin_doc/missing_docutils.html | 1 - .../templates/admin_doc/model_detail.html | 1 - .../templates/admin_doc/model_index.html | 1 - .../templates/admin_doc/template_detail.html | 1 - .../admin_doc/template_filter_index.html | 1 - .../admin_doc/template_tag_index.html | 1 - .../templates/admin_doc/view_detail.html | 1 - .../templates/admin_doc/view_index.html | 1 - .../context_processors/auth_attrs_user.html | 2 +- django/template/defaulttags.py | 111 +++++------- django/templatetags/future.py | 122 +------------ docs/internals/deprecation.txt | 3 + docs/ref/contrib/admin/index.txt | 1 - docs/ref/templates/builtins.txt | 99 ++--------- docs/topics/auth.txt | 2 - docs/topics/i18n/timezones.txt | 2 +- tests/regressiontests/i18n/patterns/tests.py | 27 +-- .../templates/templates/response.html | 4 +- tests/regressiontests/templates/tests.py | 162 ++++++------------ .../urlpatterns_reverse/urlconf_inner.py | 5 +- 41 files changed, 132 insertions(+), 439 deletions(-) diff --git a/django/contrib/admin/templates/admin/500.html b/django/contrib/admin/templates/admin/500.html index eeb9e8da79..9a3b636346 100644 --- a/django/contrib/admin/templates/admin/500.html +++ b/django/contrib/admin/templates/admin/500.html @@ -1,6 +1,5 @@ {% extends "admin/base_site.html" %} {% load i18n %} -{% load url from future %} {% block breadcrumbs %}