Opened 9 years ago

Closed 9 years ago

#11364 closed (fixed)

Suggest use of `url` tag to locate i18n javascript view

Reported by: Joost Cassee Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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>


<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>

Attachments (1)

11364-r11092.diff (606 bytes) - added by Joost Cassee 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Joost Cassee

Attachment: 11364-r11092.diff added

comment:1 Changed 9 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [11237]) Fixed #11364 -- Modified the jsi18n example to use the {% url %} tag rather than a placeholder. Thanks to jcassee for the suggestion.

Note: See TracTickets for help on using tickets.
Back to Top