A simple Django app for account managemnt
Project description
DON’T USE ME. I’M BEING USED INTERNALLY ONLY.
Django-acc: Another reusable DjangoRestFramework 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', ), 'DEFAULT_PERMISSON_CLASSES': ( 'rest_framework.permissions.IsAuthenticated' ) }
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_acc-0.0.5.dev5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c02b192afbf9dffee47f231fc82d50e62f95bcb71381ef2c3cf732ec9113e63 |
|
MD5 | 589f7d189931ca3abb7e83bbb5ff1c8c |
|
BLAKE2b-256 | 2665ea38cd66024430663b5005ada453fa6793cfcd8e719299b92af423eb7171 |