Ticket #15938: unlocalize1.patch

File unlocalize1.patch, 761 bytes (added by lev, 14 years ago)

removed the comma

  • django/contrib/admin/templates/admin/prepopulated_fields_js.html

    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 %}
    12<script type="text/javascript">
    23(function($) {
    34    var field = null;
     
    78        id: '#{{ field.field.auto_id }}',
    89        dependency_ids: [],
    910        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 }}
    1112    };
    1213
    1314    {% for dependency in field.dependencies %}
Back to Top