Django

Code

Ticket #5504 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Backwards-incompatible change introduced by [6289]

Reported by: jshaffer Assigned to: mtredinnick
Milestone: Component: Template system
Version: SVN Keywords: sprintsept14
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Before [6289], {% load satchmo.google %} was identical to {% load google %} (because everything before the last segment was ignored). With [6289] or later, {% load satchmo.google %} raises a TemplateSyntaxError.

The change in behavior should be reverted or documented. I personally prefer the new behavior (although the old was nice to give an indication of where the tags really came from, this change is overall for the better).

References Satchmo #155.

Attachments

Change History

09/15/07 20:15:39 changed by jshaffer

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

09/15/07 22:49:39 changed by Simon G. <dev@simon.net.nz>

  • stage changed from Unreviewed to Accepted.

09/15/07 23:29:33 changed by mtredinnick

  • owner changed from nobody to mtredinnick.

Should be documented as backwards-incompatible. I hadn't thought that anybody would be relying on the old behaviour for useful purposes.

I'll fix this on the wiki page.

09/15/07 23:43:06 changed by mtredinnick

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

Add/Change #5504 (Backwards-incompatible change introduced by [6289])




Change Properties
Action