X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff382f6c37063c0c4c5d21c2834a8759e25c5d02..17ad6fd770428dc46ba630ede3a39a50326c359b:/src/picture/api/urls.py?ds=sidebyside 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()), ]