Changes between Initial Version and Version 1 of Ticket #15294, comment 6
- Timestamp:
- May 2, 2011, 4:58:21 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15294, comment 6
initial v1 14 14 def post_url_continue(request, modeladmin, obj): 15 15 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)) 19 20 20 21 class ModelAdmin(BaseModelAdmin):