thank you I have two paramaters in my url how do I write the request function in my views.py: is it like this:
def function(request, parameter1, parameter2)?? 2010/9/14 Shawn Milochik <sh...@milochik.com> > It depends on whether it can contain whitespace or must contain > whitespace, and whether that whitespace may appear anywhere in the > string or only in a certain location, or after (or before) some other > matched pattern. > > Examples: > > [\w\s]+ will match "word" and/or whitespace, mixed. > > \w+[\w\s]+ will match word and/or whitespace mixed, but must be > preceded by "word" characters. > > \w+\s+\d+ will match "word" characters followed by whitespace followed > by one or more digits. > > Have a look at the regex syntax here: > http://docs.python.org/library/re.html > > Regular expressions are intimidating at first, but once you're > familiar with the meaning of the most commonly-used characters (*, +, > \w, \s, \d, ., {}) then you're most of the way there. > > Shawn > > -- > 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<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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.