*** Introduction
A Django application that allows users to register, log in, reset, and change their passwords.
*** Features
- User registration with the option to create a new user
- User login and logout
- Password change and reset
- Sending password reset emails to actual email addresses
- Authenticate using an external service
*** Back-end
- The back-end of the application is built using Django (Python Framework)
*** URLs
- `admin/` for administrative goal
- `accounts/login/` for logging a user into your application
- `accounts/logout/` for logging a user out of your application
- `accounts/password_change/` for changing a password
- `accounts/password_change/done/` for confirming a password change
- `accounts/password_reset/` for requesting a password reset email
- `accounts/password_reset/done/` for confirming a password reset email was sent
- `accounts/reset/<uidb64>/<token>/` for setting a new password using a password reset link
- `accounts/reset/done/` for confirming a password reset
*** User Registration
Django doesn’t provide user registration by default. However, Django offers forms that can be used in your projects such as `UserCreationForm` which contains all the necessary fields to create a new user, excluding the email field.
*** How to Add URLs
To add these URLs to your project, you will need to include them in your project's URL configuration file.
*** Usage
To use this flashcard app, follow these steps:
1. Clone the repository to your local machine:
`git clone [the project url]`.
2. Create a virtual environment: `python3 -m venv venv`.
3. Activate the virtual environment: `source venv/bin/activate`.
4. Install the required packages with `pip install -r requirements.txt`.
5. Apply migrations: `python manage.py migrate`.
6. Run the development server with `python manage.py runserver`.
7. In your web browser, go to `http://127.0.0.1:8000/` to access the app.
*** Contribute ?
Feel free to contribute to this project by opening an issue or submitting a pull request. Let's build this together!
*** License
This project is licensed under the [MIT License](LICENSE.md).
اسم المستقل | Mahmoud H. |
عدد الإعجابات | 0 |
عدد المشاهدات | 27 |
تاريخ الإضافة | |
تاريخ الإنجاز |