Look up how to do an or using python regexs. http://docs.python.org/lib/re-syntax.html
On Jul 5, 12:46 am, Luis Sanchez <[EMAIL PROTECTED]> wrote: > Hi, > > I want to do this: > > www.domain.com/part1/ > > if part1 is : someword1 , someword2 or someword3 go to the view: > view1 > if part1 is : someword6 , someword7 or someword9 go to the view: > view2 > > How can I do that using urls.py ?? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---