Django

Code

Ticket #6166 (closed: fixed)

Opened 7 months ago

Last modified 4 months ago

Templates autoescape / inheritance example broken

Reported by: purdeaandrei Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: templates autoescape
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

On the following page: http://www.djangoproject.com/documentation/templates/#for-template-blocks

Where the issue of combining autoescape and inheritence is discussed the example is useless.

Attachments

6166.docs.templates.diff (1.0 kB) - added by PJCrosier on 02/28/08 18:07:29.

Change History

12/09/07 19:59:02 changed by SmileyChris

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs set to 1.

Agreed. Very useless.

Needs to be changed to use context variables to show that they don't get escaped.

12/10/07 21:25:17 changed by gwilson

And the block tags in base.html are missing endblocks.

02/28/08 18:07:04 changed by PJCrosier

  • keywords set to templates autoescape.
  • needs_docs deleted.
  • has_patch set to 1.
  • summary changed from templates - autoescape - inheritance to Templates autoescape / inheritance example broken.

02/28/08 18:07:29 changed by PJCrosier

  • attachment 6166.docs.templates.diff added.

02/28/08 18:08:44 changed by PJCrosier

Patch to get the ball-rolling / so this doesn't stay broken and confuse people.

03/18/08 13:42:48 changed by ubernostrum

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [7299].


Add/Change #6166 (Templates autoescape / inheritance example broken)




Change Properties
Action