{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Adds a \"Log in as user\" button to the Django admin interface, allowing superusers to impersonate other users without knowing their passwords.","skillfed_tags":["django-admin","user-impersonation","testing-tool"],"use_cases":["Support staff testing user-reported issues by impersonating the affected account in production or staging.","QA engineers verifying permission-based features work correctly for different user roles without creating test accounts.","Developers debugging permission or workflow issues during development without needing to know user passwords.","Admin auditing by logging which staff member impersonated which user and when, via Django's LogEntry system.","Testing custom User models or permission systems by quickly switching between different user contexts in the admin."],"what_it_does":"django-loginas is a Django admin extension that injects a \"Log in as user\" button into the user change form, letting superusers impersonate other users for testing and support purposes without needing their passwords. It works by creating a signed session that remembers the original user, allowing automatic restoration when the impersonating user logs out.\n\nThe package is configured entirely through Django settings and supports fine-grained access control via a `CAN_LOGIN_AS` callback, custom redirect URLs, optional login reason tracking, and Content Security Policy compatibility. It integrates seamlessly with Django's admin logging system and can track impersonation events. The package supports Python 3 only (3.7 through 3.11 explicitly tested) and Django 2.2 through 6.0.","worth_installing":"Yes, if you run a Django project with admin and need user impersonation for testing or support. The package is stable, has no dependencies, and integrates cleanly into existing Django setups. Maintenance is aging (220 days since last release) but the repo is active and supports modern Django versions. Not suitable for production impersonation without careful security review of your `CAN_LOGIN_AS` policy."},"id":"django-loginas","links":{"html":"https://skillfed.io/packages/django-loginas","md":"https://skillfed.io/packages/django-loginas.md","pypi":"https://pypi.org/project/django-loginas/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-06","license_spdx":null,"license_treatment":"permissive","name":"django-loginas","python_support":"unspecified","summary":"An app to add a \"Log in as user\" button in the Django user admin page."},"popularity":{"monthly_downloads":2244656,"position":3192,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.3.14"}
