Saturday, 7 September 2013

Allow semicolon in Django urls

Allow semicolon in Django urls

I am trying to write urls rule for
http://localhost:8000/api/http://www.google.com/
which is url(r'^api/(?P<url>(:\d+)+[.\w]+)/$', 'qlu_app.views.api',
name='api'),
But it is not working ..Can some one please help me.

No comments:

Post a Comment