Luke, this should work. Here's an example I use: *urls.py:* url('^user/(?P<user_id>\w+)/$', user.view)
*views/user.py: *def view(request, user_id) : user = get_object_or_404(User, username = user_id) Hope that helps, -- Scott On Thu, Jul 10, 2008 at 1:42 PM, lukeqsee <[EMAIL PROTECTED]> wrote: > > Sorry I didn't my last post clear > what I want is mysite.com/people/ {dynamic url ie. name)/ > > On Jul 10, 1:34 pm, lukeqsee <[EMAIL PROTECTED]> wrote: > > Can you use alpha characters in the urls? like mysite.com/people/ > > [name]/ > > > > Is this possible? Haven't found anything in the documentation relating > > to it. > > > > Thanks, > > Luke > > > -- http://scott.andstuff.org/ | http://truthadorned.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---