Jinja

python template engine


Ticket #312 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Remove magical djangosupport.configure()

Reported by: zeeg Owned by: mitsuhiko
Priority: major Milestone:
Component: contrib Version: dev
Keywords: Cc:

Description

Attached is a patch which deprecates the magical django.contrib.jinja module (due to conflicts which it can cause trying to use it with a Django project). The change in a normal users codebase is as simple as replacing from django.contrib.jinja import N with from jinja.contrib.djangosupport import N.

The patch also includes 3 generic views:

* handler404 * handler500 * direct_to_template

Attachments

djangosupport-refactor.bundle (4.8 kB) - added by zeeg 2 years ago.

Change History

Changed 2 years ago by zeeg

Changed 21 months ago by mitsuhiko

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

Jinja2 no longer ships this magical extension and we won't change it for Jinja1 for backwards compatible reasons. We recommend Jinja2 anyways.

Note: See TracTickets for help on using tickets.