Is it possible to define a url for the admin form submit? I'd like to
redirect a user to a custom list view I've created (outside admin)
following the save of a record update or record addition. Is that
possible through the 'admin/submit_line.html' template?
For example I'd like a user to end
You can write you own admin class and implement the following
methods.
Below is an example of an admin class which changes the redirect for
the add, change and delete stage.
I am not sure if this is the best way to do it, but it works:
---
class YourClassAdmin(admin.ModelAdmin):
def
2 matches
Mail list logo