urls.py
7 lines
| 307 B
| text/x-python
|
PythonLexer
|
r2 | from django.conf.urls import url | ||
|
r0 | |||
|
r2 | urlpatterns = ( | ||
url(r'^new/experiment/$', 'apps.main.views.new_experiment', name='new_experiment'), | ||||
url(r'^new/device/$', 'apps.main.views.new_device', name='new_device'), | ||||
url(r'^experiment/(?P<idtemplate>-?\d+)/$', 'apps.main.views.index', name='template'), | ||||
|
r0 | ) | ||