INSTALLATION
=====
pip install django-accountutils
=====
Account Utils
=====
Accountutils is a simple django application to facilitate basic functionalities, like forgot password, change password, for api based projects.
Quick start
-----------
1. Add "accountutils" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'accountutils',
]
2. Include the accountutils URLconf in your project urls.py like this::
url('utils/', include('accountutils.urls')),
3. Run `python manage.py migrate` to create the accountutils models.
4. Add required settings in settings.py::
USEEMAIL='youremail@somewhere.com'
EMAIL_USE_TLS = True or False
EMAIL_HOST = 'your host'
EMAIL_PORT = <port>
EMAIL_HOST_USER = USEEMAIL
EMAIL_HOST_PASSWORD ='your password'
DEFAULT_FROM_EMAIL = USEEMAIL
DEFAULT_TO_EMAIL = ''
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
#if communication mails has to be send
SEND_REGISTRATION_MAILS = True or False #dafault True
5. Now you will have the api endpoints for registration, login, change password, forgot password etc.
#incase, use use the utils in step 2
/utils/request/forgot/password/ #post request
/utils/check/forgot_password_code/ #post request
/utils/reset/password/ #post request
/utils/change/password/ #post request
#login user
/utils/login/ #post request
#register user
/utils/register/ #post request
=====
pip install django-accountutils
=====
Account Utils
=====
Accountutils is a simple django application to facilitate basic functionalities, like forgot password, change password, for api based projects.
Quick start
-----------
1. Add "accountutils" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'accountutils',
]
2. Include the accountutils URLconf in your project urls.py like this::
url('utils/', include('accountutils.urls')),
3. Run `python manage.py migrate` to create the accountutils models.
4. Add required settings in settings.py::
USEEMAIL='youremail@somewhere.com'
EMAIL_USE_TLS = True or False
EMAIL_HOST = 'your host'
EMAIL_PORT = <port>
EMAIL_HOST_USER = USEEMAIL
EMAIL_HOST_PASSWORD ='your password'
DEFAULT_FROM_EMAIL = USEEMAIL
DEFAULT_TO_EMAIL = ''
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
#if communication mails has to be send
SEND_REGISTRATION_MAILS = True or False #dafault True
5. Now you will have the api endpoints for registration, login, change password, forgot password etc.
#incase, use use the utils in step 2
/utils/request/forgot/password/ #post request
/utils/check/forgot_password_code/ #post request
/utils/reset/password/ #post request
/utils/change/password/ #post request
#login user
/utils/login/ #post request
#register user
/utils/register/ #post request
Metadata
Release files for django-accountutils 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-accountutils-0.7.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_accountutils-0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / django-accountutils-0.7.tar.gz
| Download URL | django-accountutils-0.7.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dad627afaabe9b0c31bb51b494f77702c230e25e20446755f86f2862027ce468
|
|
BLAKE2b-256 checksum How to use checksums |
6986cdc6443ebcaa82f7fc594c5f99064a14a444e3a32ad6473d2310a872e00a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
|
Release files / django_accountutils-0.7-py3-none-any.whl
| Download URL | django_accountutils-0.7-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3ff72fc279e7e16d63ea13e4c8913aed76dbdbef4507e1041e6af7fcabde511
|
|
BLAKE2b-256 checksum How to use checksums |
8685b7170e375386ebb31df46cf1c6fc606a62b9d11494e5e157643e0ded4052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
|