fix: use django.urls.path instead of deprecated django.conf.urls.url

master
Xiretza 3 years ago committed by Tom Hacohen
parent 04ca0ae5db
commit e635e081c7

@ -1,7 +1,6 @@
import os
from django.conf import settings
from django.conf.urls import url
from django.contrib import admin
from django.urls import path, re_path
from django.views.generic import TemplateView
@ -9,7 +8,7 @@ from django.views.static import serve
from django.contrib.staticfiles import finders
urlpatterns = [
url(r"^admin/", admin.site.urls),
path("admin/", admin.site.urls),
path("", TemplateView.as_view(template_name="success.html")),
]

Loading…
Cancel
Save