> > ok now to learn how to catch that url > will something like this would work? > url(r'^thanks/(?P<your_email>w+)/$', views.thanks), >
That should work in theory, although the "w" in the regular expression won't match the @ sign or the periods. If you use the /thanks/?email=y...@email.etc you can use this syntax in the urls: url(r'^thanks/$', views.thanks), And this in the view: def thanks(request): render(request, 'thanks.html', {'email': request.GET.get('email')}) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7c6b89fa-7089-4215-a7a0-be06e68a327b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.