Follow the official installation instructions for django-hijack. Once it is installed, add unfold.contrib.hijack to your INSTALLED_APPS in settings.py.
This integration enhances the styling of notifications indicating the currently impersonated user, as well as the buttons on the user changelist page.
# settings.py
INSTALLED_APPS = [
"unfold.contrib.hijack", # Add this to load new templates
]
LIMITATION: Once you leave the admin area, the notification may not display correctly because the admin styles are no longer applied.
© 2023 - 2026 Created by unfoldadmin.com. All rights reserved.