Application for registering users in django projects
Project description
# Commons Django Application
Commons User Accounts Application for registration, login, logout and reset password.
# Quick start
To use this project, install the last version available on pypi [jnunes-accounts](https://pypi.org/project/jnunes-account/) For package install, run pip install jnunes-account.
After install, configure your settings.py file, like this:
`python INSTALLED_APPS = [ 'account', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles' ] `
`python After insta from django.contrib.messages import constants import environ env = environ.Env() environ.Env.read_env() # Default URL settings LOGIN_REDIRECT_URL = '/account/dummy' LOGIN_URL = '/account/login/' LOGOUT_REDIRECT_URL = '/account/login' HOME_REDIRECT = '<<endereco da home page>>' # SMTP Settings EMAIL_HOST = env('DJGEMAIL_HOST') EMAIL_PORT = env('DJGEMAIL_PORT') EMAIL_HOST_USER = env('DJEMAIL_HOST_USER') EMAIL_HOST_PASSWORD = env('DJEMAIL_HOST_PASSWORD') EMAIL_USE_TLS = True `
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
File details
Details for the file jnunes-account-0.1.2.tar.gz.
File metadata
- Download URL: jnunes-account-0.1.2.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76be049d6195e1b070941d4610a124ef50e5c572e93c85034deaca69c18799db
|
|
| MD5 |
1f8fcf53048f43a99b068ed13a3cd288
|
|
| BLAKE2b-256 |
9cd853702da51f1b546743e76b396a9c4cce26e683b7de44b29ef1c217e09629
|