Skip to content

A simple Django-based polling application that enables secure creation and management of polls with token-based voting system.

License

Notifications You must be signed in to change notification settings

wsparcie/poll_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Poll App

Python Django Bootstrap Status License Last Updated

A simple Django-based polling application that enables secure creation and management of polls with token-based voting system. Features real-time results tracking, responsive UI, and robust authentication.

Features in Detail

Core Functionality

  • Poll Management:
    • Create and manage multiple polls
    • Add/remove choices dynamically
    • Set poll activation/deactivation
    • Real-time vote tracking
    • Results visualization

Data Management

  • Admin Interface:
    • Comprehensive poll management
    • User management
    • Token management
    • Vote tracking
    • Statistics and reporting

Security Features

  • Authentication System:

    • User registration and login
    • Password validation and security
    • Session management
  • Token System:

    • Unique voting tokens for each poll
    • Prevent duplicate voting
    • Token validation and expiry
    • Secure token generation

User Interface

  • Responsive Design:
    • Bootstrap 4.0 framework
    • Mobile-first approach
    • Dark theme
    • Interactive elements
    • AJAX-powered updates

Prerequisites

  • Python 3.13+

  • Django 5.0+

  • Web browser (Chrome, Firefox, Safari)

  • Required Python packages:

    django
    python-decouple
    django-crispy-forms
    

Installation and configuration

  1. Install dependencies:

    pip install -r requirements.txt
  2. Configure environment variables:

    cp .env.example .env
    # Edit .env file with your settings
  3. Set up database:

    python manage.py migrate
    python manage.py createsuperuser
  4. Run development server:

    python manage.py runserver

Usage

  1. Login or register a new account
  2. Create a new poll with multiple choice options
  3. Share the poll using generated tokens
  4. Track votes and view results in real-time
  5. Manage polls through the admin interface

License

MIT License - feel free to use and modify as needed.

About

A simple Django-based polling application that enables secure creation and management of polls with token-based voting system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy