ordynacje/ordynacja/urls.py~

11 lines
321 B
Python
Raw Normal View History

2018-06-16 11:22:13 +02:00
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)