mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 06:48:11 +08:00
Fixes deprecated count method (#549)
* Replaces deprecated count with count_documents * Uses new re_path instead of url()
This commit is contained in:
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user