✅ Free Django Poll App with Source Code – Full-Featured Voting System in Django
Voting System in Django
Looking for a Django-based project to kickstart your learning or to submit as a college assignment? The Voting System in Django is a complete and free polling system, built using Python and Django, offering user authentication, voting restrictions, poll management, and search functionality.
This project is ideal for beginners and intermediates who want to learn about web development, Django’s ORM, form handling, user sessions, and more.
Download New Real Time Projects :-Click here
📊 Project Details
Feature | Description |
---|---|
Project Name | Voting System in Django |
Language/s Used | Python, Django |
Python Version | 3.5 or higher |
Framework | Django 2.0 or above |
Database | SQLite (default Django DB) |
Type | Web Application |
Developer | UPDATEGADH |
✅ Available Features
The Django Poll App comes packed with user-friendly and developer-focused features:
- 🧑💼 User Authentication
- Register and log in to view and vote on polls
- Prevents multiple votes by the same user on a single poll
- 🗳️ Poll Management
- Only poll owner can:
- Add new polls
- Edit, update or delete existing polls
- Add, edit, or delete choices
- End polls to finalize results
- Only poll owner can:
- 🔒 Voting Restrictions
- Polls can’t be voted on once ended
- Ended polls display final results only
- 🔍 Advanced Search and Filter
- Search polls by name
- Filter polls by:
- Title
- Publish date
- Number of votes
- Pagination works even after filtering
- 📧 Email Notifications
- Poll owner gets an email when someone votes (after setting up SMTP)
- 🧪 Dummy Data Seeder
- Generate sample polls and votes using Faker
- 🔐 Optional OAuth Support
- Can be extended to login with Google, Facebook, LinkedIn
💻 Getting Started
Here’s how you can set up and run the Django Poll App on your system:
🔧 Prerequisites
- Python 3.5+
- Django 2.0+
- Git (optional)
- SQLite (default, no need for setup)
🛠️ Installation & Setup
- Navigate into the project directory:
cd Django-poll-app
- Set up the database:
python manage.py makemigrations python manage.py migrate
- Create a superuser to access the admin panel:
python manage.py createsuperuser
- Generate dummy data (optional but useful):
pip install faker python manage.py shell >>> import seeder >>> seeder.seed_all(30) # Generate 30 entries (you can change this)
✉️ Email Configuration
To enable email alerts for votes:
Edit your settings.py
and add the following:
EMAIL_HOST = '<your smtp host>'
EMAIL_PORT = '<smtp port>'
EMAIL_HOST_USER = '<your email>'
EMAIL_HOST_PASSWORD = '<your password>'
DEFAULT_FROM_EMAIL = '<your email>'
online Voting System in Django project source code in html
online voting system project with source code pdf
online voting system source code
online voting system project source code free download
onlinevoting system in django project with source code in python
online voting system in django project with source code github
online voting system project source code in html, css and javascript
online voting system project with source code in c#
voting system using python code
online-voting system in django github
voting system project in python with source code
onlinevoting system in django project with source code
online voting system in django project with source code pdf
online voting system project in python with source code github
online voting system in django source code in html
online-voting-system project github
online voting system project in python with source code github
online voting system project with source code github
online voting system in djangosource code in html
online voting system in django in python code
Post Comment