Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / contrib / admin / templatetags / admin_urls.py
1 from django.core.urlresolvers import reverse, NoReverseMatch
2 from django import template
3
4 register = template.Library()
5
6 @register.filter
7 def admin_urlname(value, arg):
8 return 'admin:%s_%s_%s' % (value.app_label, value.module_name, arg)