#24646: File names jinja2.py cannot import jinja2
-------------------------------------+-------------------------------------
Reporter: Daniel Greenfeld | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: jinja2 | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by taigit):
* status: closed => new
* resolution: fixed =>
Comment:
The previous fix still has the same problem and causes a django error.
see: http://stackoverflow.com/questions/40873096/error-when-using-jinja2
-as-django-template-engine-cannot-import-name-environme/40873097#40873097
A fix that will get rid of the problem:
change: myproject/jinja2.py
to myproject/jinja2_bridge.py
in the documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/24646#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.91d0ba3a25b1dd4a0dcbe17b0b371f49%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.