Fixed #13189 -- Fixed typo in code example, thanks to gabrielhurley for patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2881da949f
commit
5256a805ff
|
@ -488,7 +488,7 @@ Using the JavaScript translation catalog
|
||||||
|
|
||||||
To use the catalog, just pull in the dynamically generated script like this::
|
To use the catalog, just pull in the dynamically generated script like this::
|
||||||
|
|
||||||
<script type="text/javascript" src={% url django.views.i18n.javascript_catalog %}"></script>
|
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
|
||||||
|
|
||||||
This uses reverse URL lookup to find the URL of the JavaScript catalog view.
|
This uses reverse URL lookup to find the URL of the JavaScript catalog view.
|
||||||
When the catalog is loaded, your JavaScript code can use the standard
|
When the catalog is loaded, your JavaScript code can use the standard
|
||||||
|
|
Loading…
Reference in New Issue