#24646: File names jinja2.py cannot import jinja2
-------------------------------+--------------------
Reporter: pydanny | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords: jinja2
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
On https://docs.djangoproject.com/en/1.8/topics/templates/ it says to
create a file at myproject/jinja2.py which includes {{{ import jinja2
}}}, which breaks on the fact that you can't import a module into
something named the same as the module.
--
Ticket URL: <https://code.djangoproject.com/ticket/24646>
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/050.63dd65a791a84f08c3911cad85d71544%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.