The project uses Django Framework in Python and MySQL as database.
A) The Project Contains 2 Apps :
- The Main Polls App.
- A Landing Page for the user on launching the server.
B) The Following views have been created in the Polls App:
- Home Page (named home)
- Detail Page (A page containing detailed description of Every Question)
- Results Page (Live Detail of which options of particular question has how many votes)
- Vote (To record the Selected Choice)
C) The Following Classes are created for Polls App :
- Question (Contains the Question Text [255 charecters] and Date Published)
- Choice (Contains Question ID [Foreign Key Reference], Text [255 chars], Votes [No. of Votes for the particular choice])
D) Through Admin.py, Django Default UI has been enabled and can be used to Feed New Questions and Choices
E) Templates have been written in HTML for Landing Page, Polls HomePage, Detail Page, and Results Page
F) ScreenShots of the Project :
PS: The UI is Pretty basic
G) MySQL Migrations :