X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff382f6c37063c0c4c5d21c2834a8759e25c5d02..74237687b77950aae8657dc1c4c05c0028d10757:/src/picture/api/urls.py 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()), ]