mirror of
https://github.com/django/django.git
synced 2025-07-03 01:09:12 +00:00
magic-removal: Fixed post_url_continue link for the admin system's add_stage.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
12463932d3
commit
32cf0aabd1
@ -195,7 +195,7 @@ def index(request):
|
||||
return render_to_response('admin/index', {'title': _('Site administration')}, context_instance=template.RequestContext(request))
|
||||
index = staff_member_required(index)
|
||||
|
||||
def add_stage(request, app_label, model_name, show_delete=False, form_url='', post_url='../', post_url_continue='../%s/change', object_id_override=None):
|
||||
def add_stage(request, app_label, model_name, show_delete=False, form_url='', post_url='../', post_url_continue='../%s/', object_id_override=None):
|
||||
model = get_model(app_label, model_name)
|
||||
opts = model._meta
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user