Hi, I am new to Django and Python and have what must be a basic question.
I want to pass a URL of the following form, containing an email address that I will later look up contact information from. e.g. http://localhost:8000/contact/ronald.ninnis%40cdu.edu.au/ I don't care about whether this is a valid email string I simple want to pass the parameter across to the view and do the look up here. I notice the @ is already %40 which has been escaped by the Javascript in the calling application. In my urls.py I have the following regex. urls.py (r'^contact/(?P<email>\[a-z0-9._%+...@[a-z0-9.-]+\.[a-z]{2,4})/$', 'entitlements.sfdc.views.contactdetail'), But no match is found. Could someone point out the error of my ways? Many Thanks, Jono -- 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.