Web application for conducting online polls and surveys.
Vision Statement
Requirements
Iteration 1 Plan
Iteration 2 Plan
Web application for conducting online polls and surveys.
Web application for conducting online polls and surveys.
Vision Statement
Requirements
Iteration 1 Plan
Iteration 2 Plan
10 mins - register Choice object
10 mins - create polls app
Your requirements are mostly good, but the word "user" isn't clear.
In some cases you mean someone who views or votes on a poll.
In others you mean someone who creates a poll question.
Use different words for these 2 cases, or clarify in requirement.
In some requirements you wrote "web visitor" as alternative term for user.
That would be OK.
5 mins - run server
15 mins - registering the Question model
remove the value of SECRET_KEY and DEBUG from settings.py and put their values in a .env file
15 mins - change urlpatterns and use Django’s generic views
5 min - create a username, email and password for admin user
User authentication will be done using the username-password backend ModelBackend
.
is_published
returns true if the current date is on or after question’s publication date
can_vote
returns true if voting is currently allowed for this question
10 mins - set up the database using SQLite
20 mins - style the application with CSS sheet
5 mins - run all test on the command line
Create unit tests for is_published
and can_vote
In the Question class, add an end_date
attribute that is the ending date for voting
If someone navigates to the polls detail page for a poll where voting is not allowed, redirect them to the polls index page and show an error message (using Django Messages Framework)
Still some not clear items about "poll" or "survey" or "question",
and whether the opening/closing date apply to all the questions
or individual questions.
I posted on Google Classroom about this, since it something
everyone should do.
10 min - write the first view of the project
20 mins - update views and HTML page
add iteration2 plan to README.md
30 mins - add detail, results and votes
Divide tests into separate files, and grouped them according to functionality
10 mins - merge master and iteration1
5 mins - create a Django project
Keep track of who has voted for which poll by changing the models.py
.
15 mins - Create a database schema, Create a Python database-access API for accessing Question and Choice objects
15 mins - customize project’s templates and application’s templates
10 mins - use generic view for index, detail and results
15 min - create two models (Question and Choice)
30 mins - write a test for question model, index and view.
Make the votes align in a column, omit the word “votes” after the count and remove the bullets
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.