Skip to content

Commit

Permalink
fix url order for impersonate
Browse files Browse the repository at this point in the history
  • Loading branch information
rstijerina committed Nov 30, 2023
1 parent c47cb64 commit 2a49b77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/portal/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@

urlpatterns = [

# admin.
path('core/admin/', admin.site.urls),

# django-impersonate
path(
'core/admin/impersonate/stop/',
impersonate_views.stop_impersonate,
Expand All @@ -57,6 +55,9 @@
name='impersonate-start',
),

# admin.
path('core/admin/', admin.site.urls),

# terms-and-conditions
path('terms/', include('termsandconditions.urls')),

Expand Down

0 comments on commit 2a49b77

Please sign in to comment.