Fixes deprecated count method (#549)

* Replaces deprecated count with count_documents

* Uses new re_path instead of url()
This commit is contained in:
Ilan Steemers
2021-05-01 16:23:37 +02:00
committed by GitHub
parent 685691ff4c
commit de9ba04602
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from django.conf.urls import url
from django.urls import re_path
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
re_path(r'^admin/', admin.site.urls),
]