Given app is called <app_name> and model in the app is called <model_table> then the following gets the link to the "add" form on the admin page:
url = reverse('admin:<app_name>_<model_table>_add')
Posted by Cuauhtemoc to Python Django (2018-08-16 11:58)