mirror of
https://github.com/jazzband/django-defender.git
synced 2026-03-16 22:10:32 +00:00
Change order of defender urls in documentation and example app
This commit is contained in:
parent
0a5011d450
commit
7bb1359514
2 changed files with 2 additions and 2 deletions
|
|
@ -169,8 +169,8 @@ following to your ``urls.py``
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls), # normal admin
|
|
||||||
path('admin/defender/', include('defender.urls')), # defender admin
|
path('admin/defender/', include('defender.urls')), # defender admin
|
||||||
|
path('admin/', admin.site.urls), # normal admin
|
||||||
# your own patterns follow...
|
# your own patterns follow...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ from django.conf.urls.static import static
|
||||||
admin.autodiscover()
|
admin.autodiscover()
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
re_path(r"^admin/", admin.site.urls),
|
|
||||||
re_path(r"^admin/defender/", include("defender.urls")),
|
re_path(r"^admin/defender/", include("defender.urls")),
|
||||||
|
re_path(r"^admin/", admin.site.urls),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue