A reusable Django Rest Accounts apps built on Django Rest Framework for fast REST development.
Project description
Django Rest Accounts
Django Rest Accounts is a Django app built on Django Rest Framework for easier account management for REST apps.
Quick Start
- Add
accounts
to your INSTALLED_APPS like this::
INSTALLED_APPS = [
...,
'rest_framework',
'rest_framework.authtoken',
"accounts",
]
- Include the accounts URLconf in your project urls.py like this::
path('accounts/', include('accounts.urls')),
- In your settings.py set the
AUTH_USER_MODEL = "accounts.User"
-
Run
python manage.py migrate
to create authentication models. -
Start the development server and visit http://127.0.0.1:8000
-
URL Configuration
URLConf | |
---|---|
LOGIN | /login/ |
REGISTER | /register/ |
LOGOUT | /logout/ |
Project made and maintained by Kumar Aditya
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 Distribution
Built Distribution
Close
Hashes for djangorestaccounts-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63e272e156e4b89fdb9c28da13207b016646c73edc6a3e0c2600629b817628f6 |
|
MD5 | 385a82b0b89cbacac73ba6e4228ec2d3 |
|
BLAKE2b-256 | 789aa9ab3b267cfdc7f26f4a769c5f9824f64bddb8540975ffce29a1ce806132 |