semvec/pypi-packages huggingface dataset:
dj-rest-register 1.0.1
A Django app to rest framework custom user registration and authentication.
License: MIT
Keywords: drf-authentication drf-auth-login drf-custom-registration

==================
dj-rest-register
==================

Django rest framework custom user authentication system package.

Quick start
=============

1. Add "app" in your `INSTALLED_APPS` settings like this::

    INSTALLED_APPS = [
        ...
        'app',
        'rest_framework',
        'rest_framework.authtoken',
    ]

2. Include the app URLconf in your project urls.py like this::
    path('user/', include('app.urls')),

3. `settings.py` file add your use model::
    AUTH_USER_MODEL = 'app.User'

4. Drop database and all migrations file from your application then again run migration in the app::
    1) python manage.py makemigrations app
    2) python manage.py migrate app
    3) python manage.py migrate

API endpoint:
==============
1. Registration: ``user/api/register/``
2. Login: ``user/api/login/``
3. Profile: ``user/api/profile/``
4. Profile Update: ``user/api/profile/1/``
5. Change Password: ``user/api/change-password/1/``
6. Logout: ``user/api/logout``