/django-authorize

Authorize is a simple Django authentication app to to provide role based authentication for users.

Primary LanguagePythonMIT LicenseMIT

Authorize

travis Codacy Badge coverage pypipackage

Authorize is a simple Django authentication app to to provide role based authentication for users.

Detailed documentation will be uploaded soon.

Quick start

  1. Install "authorize" like this:

    pip install django-authorize
    
  2. Add "authorize" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'authorize',
    ]
    
  3. Include the authorize URLconf in your project urls.py like this:

    path('auth/', include('authorize.urls')),
    
  4. Include the authorize API URLconf in your project urls.py like this:

    path('auth/api/' include('authorize.api.urls'))
    
  5. Run python manage.py migrate to create the authorize models.

  6. Start the development server and visit http://127.0.0.1:8000/auth/ to view authorize index.