Allowed slash to occur in person's nick.

pull/1/head
Stanislaw Klekot 2014-06-19 19:50:13 +02:00
rodzic 25ddfd0fca
commit 69ca12c4e4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ from django.conf import settings
#-----------------------------------------------------------------------------
urlpatterns = patterns('wlokalu.api.v1.views',
(r'^person/(?P<nick>[^/]+)$', 'person'),
(r'^person/(?P<nick>.+)$', 'person'),
(r'^sensor/(?P<sensor_id>[^/]+)$', 'sensor'),
)