* type: => New feature
* severity: => Normal
--
Ticket URL: <http://code.djangoproject.com/ticket/13875#comment:5>
* cc: andybak (added)
* easy: => 0
--
Ticket URL: <http://code.djangoproject.com/ticket/13875#comment:6>
* needs_better_patch: 0 => 1
Comment:
13875_submit_row_whole_context.diff fails to apply cleanly on to trunk
--
Ticket URL: <http://code.djangoproject.com/ticket/13875#comment:7>
Django <https://code.djangoproject.com/>
* owner: nobody => dArignac
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:9>
* needs_better_patch: 1 => 0
Comment:
fixed patch for current source
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:10>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:11>
Comment (by benatkin):
Another thing: it would be nice if I could individually override the
button row in a template. In change_form.html there's:
{{{
{% submit_row %}
}}}
If it got changed to something like:
{{{
{% block submit_button_row %}
{% submit_row %}
{% endblock %}
}}}
I could override it individually. In fact, I copied the entire
change_form.html from django/contrib/templates to my own template
directory and made this modification for my project.
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:12>
* cc: benatkin (added)
Comment:
I realize I could also override the template tag, but this makes it easier
to modify one change form without having to worry about messing up the
other change forms.
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:13>
* cc: vvangelovski@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:14>
Comment (by ramiro):
In [16956]:
{{{
#!CommitTicketReference repository="" revision="16956"
Fixed #9460 -- Added template blocks for submit buttons rows in admin app
model add/change views.
This allows for easier customization. Thanks kosmik for report and patch.
Refs #13875.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:15>
Comment (by nemesisdesign):
it is not clear if the patch needs improvements or not.
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:16>
* needs_better_patch: 0 => 1
* version: 1.2 => master
* easy: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/13875#comment:17>