Hi, I am trying to understand how URLconf works and why I am failing at a simple task. I have this in one my .py files (larger snippet is an email responder from djangobook chap7):
return HttpResponseRedirect('/contact/thanks/%s' % sender ) What I have in my urls.py file is: (r'^contact/thanks/(.)/$','mysite.books.views.thanks'), What I wanted was for the redirect to go to the page http://localhost:8000/contact/thanks/some-email-address It creates the right URL (or at least the one I wanted; dont' know if it's right. But the page is never found by the framework. If I take out the % sender stuff it finds everything, but I wanted to send over the email address so I could say, "Thanks so and so email for your question" to try and learn. I thought was I was saying in urls.py was find a file at /contac/ thanks/ and some querystring. What am I doing wrong? Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---