I need to add a custom view to a model admin similar to the history view. For example if I have a model called Job I can access the history by going to /jobs/job//history/. How do I add another view that will respond to a pattern like /jobs/job//workflow/?
Share
You can define
get_urls()on your Admin to add more admin views.admin_view()wrapperIt’s up to you to provide the links (for example, by overriding the base (
/change_form) template and adding a new item to the “object-tools” list).