11 lines
321 B
Python
11 lines
321 B
Python
|
from django.conf.urls import url
|
||
|
from django.conf.urls.static import static
|
||
|
from django.conf import settings
|
||
|
|
||
|
from . import views
|
||
|
|
||
|
urlpatterns = [
|
||
|
url('', views.index, name='index'),
|
||
|
url(r'^okreg/(?P<okreg_id>\d+)/$', views.okreg, name='okreg')
|
||
|
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|