Skip to main content

A django app for basic utilities - user registration, login, change password, reset password

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-accountutils-0.6.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

django_accountutils-0.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file django-accountutils-0.6.tar.gz.

File metadata

  • Download URL: django-accountutils-0.6.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-accountutils-0.6.tar.gz
Algorithm Hash digest
SHA256 c141723b9b52d8ce9976273c60e0adf621cacd45c2e6e93f5b28b6684bf3380b
MD5 64178bf7e66bd68e3b85854cb867585e
BLAKE2b-256 0e853a54522ca681a35c32a0aa4ae408ef4d7107f12f5da6af44c72acc35c70c

See more details on using hashes here.

File details

Details for the file django_accountutils-0.6-py3-none-any.whl.

File metadata

  • Download URL: django_accountutils-0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_accountutils-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dbba55315a41e3a8a8a63aabb288a9bee25217783b123e07b0d3bd2e2f11b7ba
MD5 fd335e6de9d9c855fcf836b11f30bfac
BLAKE2b-256 3341af547223bd1f352c3e6375215ba94beb423821e08ebe7241d66f7df15877

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page