Skip to content

A fully functional Django Authentication System created by Muthoni Gathiithi that supports user registration, login, logout, and form validation with basic error handling. It provides a clean and modular structure ideal for educational and practical use

Notifications You must be signed in to change notification settings

MuthoniGathiithi/django_Full_Authentication_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Django Full Authentication System

This is a complete Django-based authentication system built by Muthoni Gathiithi. It includes user registration, login, logout, and error handling features. The system is ideal for learning and implementing real-world Django authentication workflows with best practices.

πŸš€ Features

  • User registration with form validation
  • Login and logout functionality
  • Secure password handling
  • Custom error handling for better user experience
  • Modular structure with templates, views, and models
  • Django form handling and redirections

πŸ› οΈ Technologies Used

  • Python
  • Django (latest stable version)
  • SQLite (default development database)
  • HTML (with Django templates)

πŸ—‚οΈ Project Structure

django_Full_Authentication_System/ β”‚ β”œβ”€β”€ Authentication/ # Main Django project folder β”‚ β”œβ”€β”€ settings.py # Project settings β”‚ β”œβ”€β”€ urls.py # Root URL configuration β”‚ β”œβ”€β”€ wsgi.py, asgi.py # Server interfaces β”‚ β”œβ”€β”€ accounts/ # Core app for authentication β”‚ β”œβ”€β”€ templates/accounts/ # HTML templates β”‚ β”œβ”€β”€ views.py # View logic (login, register, logout) β”‚ β”œβ”€β”€ models.py # Custom user model (if any) β”‚ β”œβ”€β”€ forms.py # User input forms β”‚ β”œβ”€β”€ urls.py # App-specific URLs β”‚ β”œβ”€β”€ admin.py, apps.py # Admin and config β”‚ └── migrations/ # Database migration files β”‚ β”œβ”€β”€ db.sqlite3 # Default database └── manage.py # Django management script

bash Copy Edit

πŸ§ͺ How to Run the Project

  1. Clone the repository:
    git clone https://github.com/MuthoniGathiithi/django_Full_Authentication_System.git
    cd django_Full_Authentication_System

Create a virtual environment:

python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate

2.Install dependencies:

pip install -r requirements.txt

3.Run migrations:

python manage.py migrate

4.Start the development server:

python manage.py runserver Visit http://127.0.0.1:8000/accounts/register/ to register a new user.

About

A fully functional Django Authentication System created by Muthoni Gathiithi that supports user registration, login, logout, and form validation with basic error handling. It provides a clean and modular structure ideal for educational and practical use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published