Opened 6 years ago

Closed 6 years ago

#11364 closed (fixed)

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

Reported by: jcassee Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
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 jcassee 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by jcassee

comment:1 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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