ordynacje/ordynacja/urls.py

11 lines
323 B
Python
Raw Permalink Normal View History

2018-06-06 17:52:09 +02:00
from django.conf.urls import url
2018-06-16 11:22:13 +02:00
from django.conf.urls.static import static
from django.conf import settings
2018-06-06 17:52:09 +02:00
from . import views
urlpatterns = [
url('^$', views.index, name='index'),
url(r'^okreg/(?P<okreg_id>\d+)/$', views.okreg, name='okreg')
2018-06-16 11:22:13 +02:00
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)