A Django-based practice project simulating an airline management system, focused on building and experimenting with Django models, relationships, and ORM operations.
- Flight, Aircraft, Route, Passenger, and Reservation models
- One-to-many and many-to-many relationships
- Custom model managers and querysets
- Model signals and validation methods
- Django admin customization
- Example migrations and sample seed data
- Backend: Django 5+, Python 3.10+
- Database: SQLite (default)
- Environment: Virtualenv / venv
- Testing: Django TestCase
# Clone the repository
git clone https://github.com/<your-username>/aeroline.git
cd aeroline
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run migrations
python manage.py migrate
# Create superuser
python manage.py createsuperuser
# Start server
python manage.py runserver