#11364: Suggest use of `url` tag to locate i18n javascript view
---------------------------+------------------------------------------------
Reporter: jcassee | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 1 |
---------------------------+------------------------------------------------
Please change the documentation for the i18n `javascript_catalog` view to
use the `url` tag, to match best practices:
{{{
<script type="text/javascript" src="/path/to/jsi18n/"></script>
}}}
becomes
{{{
<script type="text/javascript" src="{% url
django.views.i18n.javascript_catalog %}"></script>
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/11364>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---