Skip to content

Commit

Permalink
Merge pull request #530 from bruecksen/django-hijack
Browse files Browse the repository at this point in the history
Add django-hijack
  • Loading branch information
bruecksen authored Nov 14, 2024
2 parents f8026cf + 7cd9f5f commit 48ed664
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
"wagtailmenus",
"djangoql",
"wagtail_non_admin_draftail",
"hijack",
"hijack.contrib.admin",
]


Expand Down Expand Up @@ -191,6 +193,7 @@
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
"bakeup.core.middleware.PersistentFiltersMiddleware",
"allauth.account.middleware.AccountMiddleware",
"hijack.middleware.HijackUserMiddleware",
]

# STATIC
Expand Down
1 change: 1 addition & 0 deletions config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"wagtail_non_admin_draftail.urls", namespace="wagtail_non_admin_draftail"
),
),
path("hijack/", include("hijack.urls")),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)


Expand Down
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ django-autocomplete-light==3.11.0
mjml-python==1.3.3
mrml==0.1.14
djangoql==0.18.1
django-hijack==3.7.0

0 comments on commit 48ed664

Please sign in to comment.