Skip to main content

A simple Django app for account managemnt

Project description

DON’T USE ME. I’M BEING USED INTERNALLY ONLY.

Django-acc: Another reusable Django account management application

Installation

pip install django-acc

Requirements

  • django >= 2.0

  • djangorestframework >= 3.7.7

Configurations

settings.py

  • Add rest_framework, rest_framework.authtoken, django_acc to INSTALLED_APPS

  • Set

    REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework.authentication.TokenAuthentication',
    )
    }

urls.py

  • Add path('accounts/', include('accounts.urls')) to urlpatterns in your project’s urls.py

Features

  • api views for creating users (‘/accounts/register/’) and logging in users (‘/accounts/login/’)

  • Organization management (WIP)

Concepts

Organization An organization is a group of accounts. It’s optional to create a new organization, but when a new user is created, a default organization with the same name is also created.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_acc-0.0.5.dev3-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

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