What's your 'view_xyz'? Are you sure that view_xyz is accessible through an URL without any arguments?
-- dz On Wed, Oct 28, 2009 at 2:55 PM, Umapathy S <nsupa...@gmail.com> wrote: > Hello there, > > I am developing a page which has a left side menu. This menu is a seperate > html and gets includes in the base.html template. > > To make it less vulnerable to url changes, I am trying to implement the {% > url %} > > in lhsmenu.html > > <div class="LHSMenu"> > <ul class="menu expandfirst" id="menu1"> > <li><a href="#">view</a> > <ul> > {% url exps.view_xyz as viewxyzurl %} > <li><a href="{{ viewxyzurl }}">xyz</a></li> > </ul></li> > </ul> > </div> > > I tried > > <li><a href="{% url exps.view_xyz %}">xyz</a></li> > > > Exception Type: TemplateSyntaxError Exception Value: > > Caught an exception while rendering: Reverse for 'exps.view_xyz' with > arguments '()' and keyword arguments '{}' not found. > > > > What could be the issue. Any help much appreciated. > > Thanks > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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 -~----------~----~----~----~------~----~------~--~---