DjangoAuthenticationSystem is a project that demonstrates the powerful authentication features provided by Django. This project explores the use of Django’s built-in authentication system, including user registration, login, logout, password reset, and user profile management.
- User Registration: New users can register with a username, email, and password.
- User Login/Logout: Secure user login and logout functionality.
- Password Reset: Users can reset their passwords via email.
- User Profile Management: Users can update their personal information.
- Session Management: Secure session management to keep users logged in.
- Python 3.x
- Django 3.x or later
- MySQL or SQLite (Default is SQLite)
git clone https://github.com/pedro162/DjangoAuthenticationSystem.git
cd DjangoAuthenticationSystempython3 -m venv venv
source venv/bin/activatepip install -r requirements.txtUpdate your settings.py file with your database credentials. For example, to use MySQL:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'your_database_name',
'USER': 'your_mysql_username',
'PASSWORD': 'your_mysql_password',
'HOST': 'localhost',
'PORT': '3306',
}
}python manage.py migrateCreate an admin account to manage users:
python manage.py createsuperuserStart the Django development server:
python manage.py runserverYour application will be available at http://127.0.0.1:8000/.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
This project is licensed under the MIT License



