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('django_acc.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.dev6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9110462cd15a1beb3cdca27bf6c33b83289282128fb70953b4b87fff764ea7a2 |
|
MD5 | b63bb91bee2c1abbbb18f50a2dbe947a |
|
BLAKE2b-256 | 7073babee4e9c4c14140600a96ecd3f4605b4c41816d3a415d26ace38297bd1c |