koleror / django-admin-views

Easily link custom admin views and direct URLs into the Django admin
BSD 3-Clause "New" or "Revised" License
187 stars 33 forks source link

Templatetag formating #29

Closed synw closed 7 years ago

synw commented 8 years ago

Would it be possible to have a templatetag that does not output a table row but just the link? I am using a custom admin/index.html where there is no table: it would be nice to have a raw output from the templatetag.

frankwiles commented 7 years ago

It doesn't exist right now, but it wouldn't be hard to create. In fact you could simply copy the code from admin-views's templatetag, specifically admin_views.templatetags.admin_views.get_admin_views and adjust the output to be whatever you want.