kopia lustrzana https://github.com/HackerspaceWroclaw/wlokalu
Allowed slash to occur in person's nick.
rodzic
25ddfd0fca
commit
69ca12c4e4
|
@ -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'),
|
||||
)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue