Online Voting System in Python Django with Source Code

A fully functional project based on Online Voting System which uses Python with Django Web Framework. Following Django project contains all the important features which can be in use for the second year IT students for their college projects. It has a number of important features that will allow the voters to manage and vote online. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free online voting system project in Python Django with source code files, please scroll down to the bottom of this post for the Download button.

About Online Voting System Django Project

In particular, this e-voting system project in Python Django focuses mainly on dealing with online voting, and voter-candidate information. Also, the system displays selective overall data using graphical representations. In addition, the system allows managing voters’ records. Evidently, this project is divided into two categories: Voter, and Admin Panel. In an overview of this web application, a voter can simply register into the system. Initially, the system only allows a voter to cast vote and view his/her ballot. In fact, the system restricts users after casting a vote. This means, that one user can only cast vote once, but he/she can select up to 20 candidates. Besides, a voter can only list out his/her ballot which displays the name of voted candidates.

Admin Panel

An administrator has full control over the system. He/she can manage voters, candidates, positions, and more. Here, each and every section has its own respective details such as name and other important details. The very first step of the management of this system is to set up positions and candidates. There are minor fields for each such as name, maximum votes, and bio. Both sections play an important role in maintaining the proper flow of online voting. As each of these records falls under different sections. Here, the position is simply referred to as the candidate’s position for the upcoming election. In order to add candidates, the admin has to provide his/her position, name, and bio with a single photo.

Voter Management and Votes

Moving toward the voter management side, an admin has to provide various details. This includes the name of the voter, email address, phone number, and password for setting up login credentials. As mentioned earlier, this particular thing can be done by the users themselves by registering into the system. In fact, the system does not require any other verification on both sides for registering a voter. Additionally, each vote is counted and managed in a systematic way which an admin can view from his/her panel. After submitting votes by the voters, an admin can simply list out all the vote records such as voter’s name, candidate voter for, and position. Here, the user can perform search queries under each and every section. Also, an admin can download vote results in PDF format. Besides, an admin can view the ballot position of each and update the election title anytime.

Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Online Voting System Project in Python Django Framework. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Online Voting System Project in Python Django which includes an admin panel with a voter’s panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:

  • Voter’s Panel
  • Admin Panel
  • Cast Votes
  • Select Multiple Candidates
  • View Personal Ballot
  • Voter Management
  • Candidate Management
  • Set up Positions
  • List Vote Details
  • Votes Tally
  • Download Vote Results (PDF)
  • View Ballot Position
  • Update Election Title
Project Name:Online Voting System Python Django
Technologies Used:Python with Django Web Framework
Type:Web Application
Developer:Owonubi Job Sunday
Online Voting System Django Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to the project root folder.
  • You can also create a Virtual Environment and Activate it.
  • Open your Terminal/Command Prompt on the project’s root folder.
  • Install the Requirements: pip install -r requirements.txt.
  • Then, make database migrations: python makemigrations
  • python migrate
  • And finally, after a successful migration run the application: python runserver
  • At last, open up your favorite web browser
  • Go to URL “[ PORT_NUMBER ]/“
  • For the Admin Login credentials, you have to create one with a superuser.

And there you have it, a full setup of the Online Voting System project in Django. At First, all you need to have is Python and Django installed on your local machine, whereas the remaining modules are under the requirements.txt file. Still, the versions may vary according to different project requirements, you can make use of it with python virtual environments. Also, Download Free Online Voting System Project in Python Django Source Code. So, this E-Voting Management System in Django is a fully functional project for all the beginner levels. Indeed, it helps to broaden vast knowledge into such Django web applications. In conclusion, this whole Django project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Online Voting System Project in Python Django with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. python makemigrations
    OSError: cannot load library ‘gobject-2.0-0’: error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called ‘gobject-2.0-0’

  2. Thanks for considering it worthy to publish my software. I am Owonubi Job Sunday; I developed the project 🙂

      1. after I log-in
        it shows “a server error occurred, Please contact the administrator ”
        nd with key {key}”)
        zoneinfo._common.ZoneInfoNotFoundError: ‘No time zone found with key UTC’
        [30/Apr/2023 11:25:47] “GET /voting/ballot/vote HTTP/1.1” 500 59

          1. The login details is fine but after I login the error occurred. I tried downloading the files again but it shows the same error.

    1. wow, you really tried bro, please can i have your contact i wish to learn more from you, im also from Nigeria. thanks

  3. It doesn’t show bar chart:

    bower_components/chart.js…. is not in the folder

    How to fix this

    Thank you

    By the way Thank you
    Great JOB

    1. Sorry for that. We have just updated the project files!
      You can re-download and check the project. Also, please let us know if it’s the same.
      Thank you for pointing it out, looks like we deleted one of the required files by mistake. Quite weird that no one has ever pointed that out to date.

  4. OSError: cannot load library ‘pango-1.0-0’: dlopen(pango-1.0-0, 0x0002): tried: ‘pango-1.0-0’ (no such file), ‘…………………….

  5. This is amazing bro. I wish I saw this earlier. Trying to make a difference, I built a similar app. I’d like us to work together if you’re open to this.
    I’m just trying to make a difference.

  6. ERROR: Failed building wheel for Pillow
    Failed to build Pillow
    ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects

    I always get this error while trying to install Pillow

      1. Is there any other captcha that I am not aware of? because aside from the one, at the end of the page, I do not see another one

  7. OSError: cannot load library ‘gobject-2.0-0’: error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called ‘gobject-2.0-0’

    1. It looks like there’s an issue with loading the ‘gobject-2.0-0’ library. This might be due to a missing or improperly installed dependency. Please try installing the necessary package.

  8. PS C:\WINDOWS\System32\WindowsPowerShell\v1.0> pip install -r requirements.txt
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt’

    1. That’s completely wrong. You’re trying to install dependencies without having the correct path to the project’s requirements.txt file. Make sure you are in the root project directory where requirements.txt file is located.

Leave a Reply

Your email address will not be published. Required fields are marked *