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
accountsto 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 migrateto 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djangorestaccounts-0.1.2.tar.gz.
File metadata
- Download URL: djangorestaccounts-0.1.2.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4600f3994df113262e0efe387af4b035ff62a5f9c4a0efe6b142790b1f83634d
|
|
| MD5 |
a9f9e4999a0ef6e8881304c4b80abff1
|
|
| BLAKE2b-256 |
09c4fcbf79e9c84d5ab773aba2f08e4ae86ee23df183f5df98fd8ff7df3ae63d
|
File details
Details for the file djangorestaccounts-0.1.2-py3-none-any.whl.
File metadata
- Download URL: djangorestaccounts-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63e272e156e4b89fdb9c28da13207b016646c73edc6a3e0c2600629b817628f6
|
|
| MD5 |
385a82b0b89cbacac73ba6e4228ec2d3
|
|
| BLAKE2b-256 |
789aa9ab3b267cfdc7f26f4a769c5f9824f64bddb8540975ffce29a1ce806132
|