﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32085	Add template tag for creating link to admin site	Dart	nobody	"Hey! In some situations during development django apps, i need some way to create link into django admin for changing, deleting specific model instance.
Looking into of souces django you can see, that django has prefix names for dynamic models. For more look at get_urls() method from ModelAdmin.
Example:
info = self.model._meta.app_label, self.model._meta.model_name
url = path('add/', wrap(self.add_view), name='%s_%s_add' % info)
I am propose to write template tag which accept any model instance and action (update, delete, etc) and return correct url for django admin site.
Maybe this situation is too rare, its need some discussion.
Regards, Viktor Lomakin"	New feature	closed	Template system	3.1	Normal	invalid	Tags, Admin, Urls		Unreviewed	0	0	0	0	0	0
