django/django
Preston Timmons 55f12f8709 Cleaned up the template debug implementation.
This patch does three major things:

* Merges the django.template.debug implementation into django.template.base.

* Simplifies the debug implementation.

  The old implementation copied debug information to every token and node.
  The django_template_source attribute was set in multiple places, some
  quite hacky, like django.template.defaulttags.ForNode.

  Debug information is now annotated in two high-level places:

  * Template.compile_nodelist for errors during parsing
  * Node.render_annotated for errors during rendering

  These were chosen because they have access to the template and context
  as well as to all exceptions that happen during either the parse or
  render phase.

* Moves the contextual line traceback information creation from
  django.views.debug into django.template.base.Template. The debug views now
  only deal with the presentation of the debug information.
2015-03-20 08:58:07 -04:00
..
apps Fixed #24397 -- Sped up rendering multiple model states. 2015-03-08 13:54:49 +01:00
bin Removed bin/unique-messages.py 2015-02-06 08:47:38 -05:00
conf Updated translation catalogs 2015-03-18 09:31:00 +01:00
contrib Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag 2015-03-20 08:32:25 -04:00
core Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
db Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
dispatch Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
forms Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django templates. 2015-03-18 09:11:01 -04:00
http Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
middleware Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
template Cleaned up the template debug implementation. 2015-03-20 08:58:07 -04:00
templatetags Fixed #24372 - Replaced TokenParser usage with traditional parsing. 2015-03-02 18:25:28 -05:00
test Fixed #23960 -- Removed http.fix_location_header 2015-03-18 18:22:50 +01:00
utils Cleaned up the template debug implementation. 2015-03-20 08:58:07 -04:00
views Cleaned up the template debug implementation. 2015-03-20 08:58:07 -04:00
__init__.py Bumped version; master is now 1.9 pre-alpha. 2015-01-16 17:04:35 -05:00
shortcuts.py Fed tuples to startswith when appropriate 2015-03-13 21:58:28 +01:00