A Django app for user management with email-based authentication.
Project description
Django Email Accounts
Django Email Accounts is a Django app for user management with email-based authentication. It provides a customizable User model and registration view for handling user registration and authentication using email and password.
Installation
Install the package using pip:
pip install django-email-accounts
Usage
- Add
'email_accounts'
to theINSTALLED_APPS
list in your Django project'ssettings.py
file:
INSTALLED_APPS = [
...
'email_accounts',
...
]
- Change the default authentication user model by adding this line of code in your Django project's
settings.py
file:
AUTH_USER_MODEL = 'email_accounts.User'
- Update your project's
urls.py
file to include the email-accounts URLs:
from django.urls import path, include
urlpatterns = [
...
path('accounts/', include('email_accounts.urls')),
...
]
- Run migrations to create the necessary database tables:
python manage.py migrate
- You can now use the email-accounts functionality in your Django project.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
To contribute to the project, follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make the necessary changes and commit them.
- Push the changes to your forked repository.
- Submit a pull request to the main repository.
Please ensure that your code adheres to the project's coding conventions and includes appropriate tests. Also, provide a clear description of the changes you have made in the pull request.
Thank you for your contributions!
License
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
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
File details
Details for the file django-email-accounts-0.1.0.tar.gz
.
File metadata
- Download URL: django-email-accounts-0.1.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d27e133487d204e5a9053a44b65ef9d7c87be5f165d4c8b0fbe0c2ea8e18320 |
|
MD5 | 3f84d8a1a005f3f4d3cee8795b8a7bc2 |
|
BLAKE2b-256 | d620dc063ad8f00e9b159264efb49b653186a3417360806bd746fb61346319d6 |
File details
Details for the file django_email_accounts-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_email_accounts-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3f94ae650dbc8a03ec151a1ee34bf8b8056965e98a1560b60dea60f2b55586 |
|
MD5 | b79598925c273118354623ecb25db33a |
|
BLAKE2b-256 | f3d4e6f7fe35bb2c3c46dea11a9ea6766a50f4c64db32c9355791c9be8d15381 |