Online Exam System in Python using Django Framework Free Source Code


Online Exam System using Django in Python

This project is entitled Online Exam System. This is a web-based application developed in Python and Django Framework. This project provides an automated and online Examination platform for certain Colleges or Universities. The application can be accessed by the school management, faculties, and students. It has a simple and pleasant user interface with the help of Boostrap Framework. This Online Exam System Project consists of user-friendly features and functionalities.

About the Online Exam System

I developed this project using the following:

  • Python
  • Django
  • SQLite3
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Pillow Library
  • asgiref Library
  • Django-widget-tweaks
  • pytz Library
  • Fontawesome
  • Bootstrap

This Online Exam System Project has 3 types of user roles as I mentioned above. It gives access to the school management, faculties, and students. Each user role contains different permission or restriction to the project features and functionalities. The Student and Faculties are required to register or signup first on the site. The Faculty Accounts requires an admin validation before they can gain access to features and functionalities of its role.

In this system, the Admin Users have the privilege to access and manage most of the features and functionalities. They are the ones who validate the new teachers/faculties system account. They can also update the information of both Students and Faculty details and credentials.

The Faculties/Teachers have the privilege to manage the list of courses and questions. He/She can add a new course, delete a course, add questions to the course, and delete questions.

The Students can list all available examinations to take. In order for them to take the exam, they will simply click the 'Attend Exam Button' beside the exam name and the page will be redirected to the instruction page. Students can only select 1 answer to the options per question. Then, after the student finished answering and reviewing their answers, they can simply click the Submit Answer Button below the questionnaire. After the student answer sheet is submitted, the system will automatically check and computes the total score of the student.



  • Login
  • Dashboard
    • Displays the Summary of the Uploaded Images
  • Manage Courses
    • Add New Course
    • List All Courses
    • Delete Course
  • Manage Questions
    • Add New Question
    • List All Questions
    • Delete Question
  • Manage Teachers
    • List All Teachers
    • Validate Teacher
    • Update Teacher Details
    • Delete Teacher
    • List Teachers Salaries
  • Manage Students
    • List All Students
    • Update Student Details
    • Delete Student
    • List Students Salaries
  • Logout


  • Login and Registration
  • Dashboard
    • Displays the Summary of the Uploaded Images
  • Manage Courses
    • Add New Course
    • List All Courses
    • Delete Course
  • Manage Questions
    • Add New Question
    • List All Questions
    • Delete Question
  • Logout


  • Login and Registration
  • Dashboard
    • Displays the Summary of the Uploaded Images
  • List Examination
  • List Courses
  • List Exam Results
  • Take Exam
  • Logout

Sample Snapshots

Public Home Page

Online Exam System

Teacher Dashboard

Online Exam System

Course List

Online Exam System

Student Dashboard

Online Exam System

Exam Questionnaire

Online Exam System

Student's Mark List

Online Exam 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
  • 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_pgs
  4. Run the following commands:
    • pip install -r requirements.txt
    • python migrate
  5. Create a Superuser by executing the following command:
  6. python createsuperuser
  7. Run the project by executing the following command:
  8. python runserver
  9. Keep the terminals open and running.
  10. Open a web browser and browse http://localhost:8000/ or


Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.

That's it! I hope this will help you with what you are looking for. Maybe you'll find this Online Exam 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 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.


Submitted bydakasi simon (not verified)on Mon, 01/02/2023 - 19:17

Submitted bySamuel Adepoju (not verified)on Wed, 02/14/2024 - 06:02

Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Add new comment