Skip to content

A web-based voting platform built with Django, where users can create polls, vote on them, and view results. The app includes user authentication, poll expiration, and an admin panel for managing polls and users.

Notifications You must be signed in to change notification settings

Danitilahun/Voting_Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting App (Django)

A web-based voting platform built with Django, allowing users to create and participate in polls. The application supports user authentication, creating polls, voting on polls, viewing results, and more.

Features

  • User Authentication: Users can register, login, and manage their accounts.
  • Poll Creation: Users can create their own polls with multiple options.
  • Voting System: Users can vote on active polls.
  • View Results: View poll results in real-time after voting.

Technologies Used

  • Backend: Django (Python)
  • Frontend: HTML, CSS (Bootstrap for responsive design)
  • Database: SQLite (default), can be configured to PostgreSQL or MySQL
  • Authentication: Django's built-in authentication system

Installation

Follow these steps to set up the project locally.

  1. Clone the repository:

    git clone https://github.com/Danitilahun/Voting_Django.git
    cd Voting_Django
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  4. Install the dependencies:

    pip install -r requirements.txt
  5. Run migrations:

    python manage.py migrate
  6. Create a superuser:

    python manage.py createsuperuser
  7. Run the server:

    python manage.py runserver

About

A web-based voting platform built with Django, where users can create polls, vote on them, and view results. The app includes user authentication, poll expiration, and an admin panel for managing polls and users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published