Opened 15 years ago

Closed 15 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: no UI/UX: no

Description

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>

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

by Joost Cassee, 15 years ago

Attachment: 11364-r11092.diff added

comment:1 by Russell Keith-Magee, 15 years ago

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