I'm trying to generate a regex for just numbers. But for some reason the pattern doesn't seem to match. My code is:
url('^[\d\-]+/$', views.room, name='room'),
The request has to go to this expression. The HTML href for the above is:
<href="/polls/layout/103/>