Ticket #4497: 4497.patch

File 4497.patch, 1.0 KB (added by buriy <burchik@…>, 17 years ago)

Patch

  • D:/program/Python24/Lib/site-packages/django-svn/django/contrib/admin/templates/admin/change_form.html

     
    2323  </ul>
    2424{% endif %}{% endif %}
    2525{% endblock %}
    26 <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %}
     26<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}{% if form_url %}action="{{ form_url }}" {% endif %}method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %}
    2727<div>
    2828{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
    2929{% if opts.admin.save_on_top %}{% submit_row %}{% endif %}
Back to Top