Hello, I am looking for the admin site url name to be included as a link in a home page template.
I looked at contrib/admin/sites.py AdminSite sets self.name which is then passed to # Admin-site-wide views. urlpatterns = patterns('', url(r'^$', wrap(self.index), name='%sadmin_index' % self.name), What is the self.name passed to AdminSite constructor. I tried <li><a href="{% url admin_index %}"> Admin </a></li> It throws a template syntax error. Exception Value: Caught an exception while rendering: Reverse for 'admin_index' with arguments '()' and keyword arguments '{}' not found. Any help much appreciated. Thanks Umapathy --The browser you can trust - Firefox 3 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.