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:
Gary Wilson Jr 2010-03-27 00:14:10 +00:00
parent 2881da949f
commit 5256a805ff
1 changed files with 1 additions and 1 deletions

View File

@ -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