Hi all,
I am aware that the Django URL pattern consists of the following number of parameters:
url(r'^polls/(?P<poll_id>\d+)/$', 'polls.views.detail')
My question is pretty simple - What would be the right way of using the code if the poll_id, in this case, turns to be NaN but an actual character string with certain data in it?
How can I go about this? All help appreciated!