Changes between Initial Version and Version 1 of Ticket #15294, comment 6


Ignore:
Timestamp:
05/02/2011 04:58:21 AM (4 years ago)
Author:
julien
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15294, comment 6

    initial v1  
    1414def post_url_continue(request, modeladmin, obj):
    1515    opts = obj._meta
    16     return reverse('admin:%s_%s_changelist' %
    17                                    (opts.app_label, opts.module_name),
    18                                    current_app=modeladmin.admin_site.name)
     16    return (reverse('admin:%s_%s_change' %
     17                            (opts.app_label, opts.module_name),
     18                            args=obj.pk,
     19                            current_app=modeladmin.admin_site.name))
    1920
    2021class ModelAdmin(BaseModelAdmin):
Back to Top