How to pass variables with spaces through URL in :Django
yup .. allow spaces in your regex .. something like this works for me ..
url(r'^find-interiordesigners/state-(?P<state>.+?)/$',DesignersByCategoryCityState.as_view(),name='findInterior-state'),
Allow spaces in your regex.
urlpatterns = patterns('kiosks.views', url(r'^([\w ]+)/$', 'dashboard'),)
And for the love of Pete, use reverse()
. It will help you catch silly mistakes like this.