Change order of defender urls in documentation and example app

This commit is contained in:
Dashgin 2022-05-20 14:56:26 +04:00
parent 6f806b046a
commit 6f0f7dddb2
2 changed files with 2 additions and 2 deletions

View file

@ -169,8 +169,8 @@ following to your ``urls.py``
.. code-block:: python
urlpatterns = [
path('admin/', admin.site.urls), # normal admin
path('admin/defender/', include('defender.urls')), # defender admin
path('admin/', admin.site.urls), # normal admin
# your own patterns follow...
]

View file

@ -7,8 +7,8 @@ from django.conf.urls.static import static
admin.autodiscover()
urlpatterns = [
re_path(r"^admin/", admin.site.urls),
re_path(r"^admin/defender/", include("defender.urls")),
re_path(r"^admin/", admin.site.urls),
]