Opened 16 years ago
Closed 16 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)
Change History (2)
by , 16 years ago
| Attachment: | 11364-r11092.diff added |
|---|
comment:1 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [11237]) Fixed #11364 -- Modified the jsi18n example to use the {% url %} tag rather than a placeholder. Thanks to jcassee for the suggestion.