X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff382f6c37063c0c4c5d21c2834a8759e25c5d02..0c502550a4f04aa016df8729af2ae2f85c0b495a:/src/picture/api/urls.py?ds=inline diff --git a/src/picture/api/urls.py b/src/picture/api/urls.py index e8dc14618..95fd10356 100644 --- a/src/picture/api/urls.py +++ b/src/picture/api/urls.py @@ -1,11 +1,10 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls import url +from django.urls import path from . import views urlpatterns = [ - url(r'^$', views.PicturesView.as_view()), + path('', views.PicturesView.as_view()), ]