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

url regex in AdminViews.get_urls #8

Closed edgabaldi closed 2 years ago

edgabaldi commented 10 years ago

What do you think about change it:

url(regex=r'%s' % link[1],

to:

url(regex=r'^%s$' % link[1],

Code link: https://github.com/frankwiles/django-admin-views/blob/master/admin_views/admin.py#L34

KostyaEsmukov commented 8 years ago

I agree. Created a PR.