Hey guy's, I'm trying to replicate behaviour of a legacy CMS and stick it into a new Django project.
Here is an example of my url: http://hostname:port/cgi-bin/DocDB/ShowDocument?docid=19530&version=1 I want to filter the docid and version with a regex in a urlpattern to use later in a function: url(r'^cgi-bin/DocDB/ShowDocument\?docid=(?P<documentid>\d+)\? version=(?P<version>\d+)', 'docDB.views.retrieveDocumentVersion'), I've tried about every way of escaping the '? ' but can't get it to work... Any ideas anyone? Thanks, -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.