More than one match for one {% url view args %} doesn't sound right, you can name your patterns to clear up any ambiguity - http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns
On Mar 5, 2:30 am, msoulier <[EMAIL PROTECTED]> wrote: > So, my urlconf is > > urlpatterns = patterns('teleworker.clients.views', > (r'create/$', 'create'), > (r'modify/(?P<id>\d+)/$', 'modify'), > (r'delete/(?P<id>\d+)/$', 'delete'), > (r'page/(?P<page>\d+)/(?P<orderby>\w+)/(?P<direction>\w+)/$', > 'list'), > (r'page/(?P<page>\d+)/$', 'list'), > (r'^$', 'list'), > ) > > The list function is > > def list(request, page=1, orderby='clientid', direction='forward', > filter=None): > > When I try to use the url tag to get a url to this function, it only > matches the last line of the urlconf. > > {% url teleworker.clients.views.list > page=1,orderby=clientid,direction=forward %} > > What am I missing? > > Thanks, > Mike --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---