Bus Reservation System in Python using Django Framework Free Source Code


Bus Reservation System using Django in Python

This application is entitled Bus Reservation System. This is a simple web-based application developed in Python and Django Framework. The application is an online Bus Seat Reservation Platform for a certain bus company or station. It allows the users to reserve or book a seat ahead of time for the bus scheduled trip. The application has a simple and pleasant user interface with the help of Bootstrap Framework. It contains simple and user-friendly features and functionalities so that the end-users will have a better experience while using it.

About the Bus Reservation System

This was developed using the following Libraries:

  • Python
  • Django
  • SQLite3
  • HTML
  • CSS
  • JavaScript
  • Pillow Library
  • Bootstrap

This Bus Reservation System Project is accessible to anyone. This application has a simple registration feature that allows the possible passengers to register their system credentials. The system-registered users are required to log in to their system credentials to gain access to the features and functionalities. On this application, only admin users can create a new bus schedule and manage it. This list can be only accessed at the Django's Admin Panel. Users can find the list of the available scheduled buses to their desired route and date. They can book a seat for their chosen schedule by filling out the Booking Form below the list. After the successful booking, users can list his/her bookings ate the See Bookings page. The list will only display the booking history or current user. Lastly, users can also cancel their booking on the system.


  • Login and Registration
  • Home
  • Find Available Bus
  • List All Available Bus
  • Book a Seat
  • View Booking Details
  • List All Bookings
  • Cancel Bookings
  • Logout

Sample Snapshots

Login Page

Bus Reservation System

Registration Page

Bus Reservation System

Find Bus

Bus Reservation System

Booking Form

Bus Reservation System

Booking List

Bus Reservation System

The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.

How to Run

Download/Install the following

  • Python (I used v3.9.1)
  • PIP (for python modules installation)


  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your Terminal/Command Prompt window. (make sure to add "python" and "pip" in your environment variables)
  3. Change the working directory to the extracted source code folder. i.e. cd C:\Users\Personal-23\Desktop\django_brs
  4. Run the following commands:
    • python manage.py migrate
    • python manage.py createsuperuser (Create an Admin User)
    • python manage.py runserver
  5. Keep the terminals open and running.
  6. Open a web browser and browse the Bus Reservation System http://localhost:8000/ or

Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred. for the Django's Admin Site.


That's it! I hope this will help you with what you are looking for. Maybe you'll find this Bus Reservation System useful and can help you with your future Python Django Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment