ordynacje/ordynacja/urls.py
2018-06-16 11:22:13 +02:00

11 lines
323 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)