diff --git a/django/contrib/admin/templates/admin/prepopulated_fields_js.html b/django/contrib/admin/templates/admin/prepopulated_fields_js.html
index 43ef5ba..7c39ff8 100644
a
|
b
|
|
| 1 | {% load l10n %} |
1 | 2 | <script type="text/javascript"> |
2 | 3 | (function($) { |
3 | 4 | var field = null; |
… |
… |
|
7 | 8 | id: '#{{ field.field.auto_id }}', |
8 | 9 | dependency_ids: [], |
9 | 10 | dependency_list: [], |
10 | | maxLength: {{ field.field.field.max_length|default_if_none:"50" }} |
| 11 | maxLength: {{ field.field.field.max_length|default_if_none:"50"|unlocalize }} |
11 | 12 | }; |
12 | 13 | |
13 | 14 | {% for dependency in field.dependencies %} |