This Django project is a web application for flight management. It includes features for managing flights, origins, destinations, arrivals, and departures. The project uses SQLite as the database. Additionally, users can log in to view their specific flight details and explore other available flights.
- User Authentication: Allows users to register, log in, and log out securely.
- Flight Management: Admin can manage flights, origins, destinations, arrivals, and departures.
- User-Specific Flights: Upon login, users can view details about their flights.
- Django
- SQLite3
-
Clone the repository:
git clone https://github.com/your-username/your-project.git
-
Navigate to the project directory:
cd your-project -
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Create a superuser for accessing the admin interface:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the application at http://localhost:8000.
- To access the Django Admin interface, log in using the superuser credentials created earlier: http://localhost:8000/admin.
- Manage flights, origins, destinations, arrivals, and departures through the admin interface.
- Users can register and log in using the application.
- After logging in, users can view details about their specific flights.
- Explore other available flights on the platform.
This project is licensed under the MIT License.