A Django web application for managing medical office operations, utilizing Django's built-in authentication system for secure access control.
- User authentication and authorization (Django's built-in auth system)
- Patient management
- Consultation tracking
- Secure access control for medical staff
- Admin interface for system management
- Python 3.x
- pip (Python package installer)
- Create new virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`
- Install Django and dependencies:
pip install django
pip install -r requirements.txt
- Create a new Django project:
django-admin startproject cabinet
- Create your Django application:
cd cabinet
python manage.py startapp medecin
- Create new migrations:
python manage.py makemigrations medecin
- Apply migrations:
python manage.py migrate
- Create admin superuser:
python manage.py createsuperuser
Start the Django development server:
python manage.py runserver
Local Development:
- Django admin interface: http://127.0.0.1:8000/admin
- Main application: http://127.0.0.1:8000
Live Demo:
- Demo site: https://django33.pythonanywhere.com
- Demo admin interface: https://django33.pythonanywhere.com/admin
This application uses Django's built-in authentication system which provides:
- User registration
- Login/logout functionality
- Password management
- User permissions
- Group-based access control
- All routes require authentication except the login page
- Passwords are securely hashed using Django's authentication system
- Session management is handled by Django's secure session framework
To contribute to this project:
- Fork the repository
- Create a virtual environment
- Install dependencies
- Create a new branch for your feature
- Submit a pull request