In my django project, I am creating a link to the admin interface so that users can edit the object:
<a href="{% url admin:mode_change object.id %}">modify object</a>
this works fine, but after the user has finished editing the object in the admin interface, I would like to automatically return the user to the original URL (or another URL). Currently, after a user changes an object, he / she enters the admin interface, looking through all the model entries.
Is there a way to provide a return url for an admin link?
source share