diff --git a/plchweb/urls.py b/plchweb/urls.py index 808d1dc..c92222e 100644 --- a/plchweb/urls.py +++ b/plchweb/urls.py @@ -14,11 +14,11 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path -from base_app.views import IndexView, LoremView, CVView, UkraineView +from django.conf.urls import url +from base_app.views import IndexView urlpatterns = [ - path('', IndexView.as_view()), - path('curriculum-vitae/', CVView.as_view()), - path('ukraine/', UkraineView.as_view()), + url(r'^$', IndexView.as_view()), + url(r'^curriculum-vitae/$', CVView.as_view()), + url(r'^ukraine/$', UkraineView.as_view()), ]