mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Fixed #14908 -- Added a 'takes_context' argument to simple_tag. Thanks to Julien Phalip for driving the issue and providing the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7adffaeaf6
commit
314fabc930
6 changed files with 134 additions and 20 deletions
|
@ -184,12 +184,16 @@ requests. These include:
|
|||
|
||||
* Support for _HTTPOnly cookies.
|
||||
|
||||
* mail_admins() and mail_managers() now support easily attaching
|
||||
HTML content to messages.
|
||||
* :meth:`mail_admins()` and :meth:`mail_managers()` now support
|
||||
easily attaching HTML content to messages.
|
||||
|
||||
* Error emails now include more of the detail and formatting of
|
||||
the debug server error page.
|
||||
|
||||
* :meth:`simple_tag` now accepts a :attr:`takes_context` argument,
|
||||
making it easier to write simple template tags that require
|
||||
access to template context.
|
||||
|
||||
.. _HTTPOnly: http://www.owasp.org/index.php/HTTPOnly
|
||||
|
||||
.. _backwards-incompatible-changes-1.3:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue