1
0
mirror of https://github.com/etesync/server synced 2024-11-14 04:49:18 +00:00

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

This commit is contained in:
Xiretza 2022-05-08 15:16:54 +02:00 committed by Tom Hacohen
parent 04ca0ae5db
commit e635e081c7

View File

@ -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")),
]