X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff382f6c37063c0c4c5d21c2834a8759e25c5d02..e15b74e6d8f736dfc8a6101e8b9c6583eebd7509:/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()), ]