Add back resolve_to_name to navigation.utils a few places import from this

This commit is contained in:
Roberto Rosario
2014-07-01 20:06:37 -04:00
parent 0f3ed2b896
commit 77ff0f7191
2 changed files with 9 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
from django.core.urlresolvers import resolve
def resolve_to_name(path, urlconf=None):
return resolve(path, urlconf=urlconf).view_name