from django.core.urlresolvers import reverse def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None, current_app=None): raise NotImplementedError