How about this:
(r'test/(?P<status>[E])?/?$',
'missing.apps.persons.views.persons.test'),
it will match either /test/E or /test in the url
This one:
(r'test/(?P<status>[\w])/+$',
'missing.apps.persons.views.persons.test'),
will match any letter character.
/test/i test/e test/x etc.....
Then get the status in the view:
(apps\persons\views\person.py)
...
def test(request,status):
if status in ('E','e','I','i'):
status__exact = status
else:
status__exact='Default'
return HttpResponse(status_exact)
...
is that what you want?
-Aaron