Skip to content
/ polls Public

Simple Django application for making Polls and voting on them

Notifications You must be signed in to change notification settings

nrngxv/polls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very simple polls program

The aim of this program was to learn about how django works and understand how designing a frontend of a application works

How it works

--- THIS PROGRAM RUNS COMPLETELY LOCALLY ---

First check if you are on the latest version of python or not. Run this in your terminal

python --version

It should say Python 3.11.4

Next, Clone this GitHub respository:

git clone https://github.com/nrngxv/polls.git

Next, cd into the directory where the git is cloned, and run this command

python manage.py runserver

This will start the server.

Next, go to this web address http://127.0.0.1:8000/ and you will see the home page for the application

Explaning the interface

The home page The home page consist of a navigation bar. With links to the home page and a create page. The rest of the page, displays a list of already made polls, and each list of poll has two button with it.

  • One is to vote on the Poll
  • One is to view the result
  • Questions displyed on each poll view

polls home page gif

Create page This page give you access to creating a custom poll.

  • Enter a poll question
  • Enter the different options to the poll
  • The new poll gets updated on the home page.

polls create

About

Simple Django application for making Polls and voting on them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published