Skip to main content

django-hijack allows superusers to hijack (=login as) and work on behalf of another user.

Project description

Django Hijack
============

django-hijack allows superusers to hijack (=login as) and work on behalf of another user.

Installation
------------

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-hijack

To get the latest commit from GitHub

.. code-block:: bash

pip install -e git+git://github.com/arteria/django-hijack.git#egg=hijack


In your ``settings.py`` add ``hijack`` to your ``INSTALLED_APPS`` and define ``LOGIN_REDIRECT_URL``

.. code-block:: python

INSTALLED_APPS = (
...,
'hijack',
)

LOGIN_REDIRECT_URL = "/hello/"


Add the ``hijack`` URLs to your ``urls.py``

.. code-block:: python

urlpatterns = patterns('',
...
url(r'^hijack/', include('hijack.urls')),
)




Usage
-----

Go to Users in the admin interface and push the ‘Hijack’ button to hijack an user.


Contribute
----------

If you want to contribute to this project, please perform the following steps

.. code-block:: bash

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 django-hijack
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-hijack-0.1.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file django-hijack-0.1.tar.gz.

File metadata

  • Download URL: django-hijack-0.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-hijack-0.1.tar.gz
Algorithm Hash digest
SHA256 92d26fcc30d3883e16da684fe64e18998671b2d4925b1d255cd5698014b75934
MD5 69eb14c26abbe5f9ccabb36d32270d07
BLAKE2b-256 24bbdc92959055fbb796d0afa1e0a1c0075f764be52330f21efa6bdac68c5079

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page