Commit Graph

8 Commits

Author SHA1 Message Date
sosokker
e0c7995f28 Add is_published, can_vote to QuestionModel/ Add test for can_vote, is_published
is_published -> Check if the specific question able to be published
can_vote -> Can vote or not, check it from pub time

Delete some unnecessary files
2023-09-05 21:25:04 +07:00
sosokker
1f3840c0b8 Add publication to poll cards. 2023-08-28 23:11:33 +07:00
sosokker
477903dfd3 Update Views of all pages - index, detail, result / Add Home Page
Update views of all pages and add HomeView (Homepage) + Update data of sqlite3 polls database
2023-08-28 22:32:42 +07:00
sosokker
59ae9b68b3 Fix Missing results.html template file 2023-08-28 22:25:09 +07:00
sosokker
48670592e4 Customize Admin Page view 2023-08-28 20:56:22 +07:00
sosokker
d271325ab1 Style polls page 2023-08-28 20:51:27 +07:00
sosokker
f7c2012118 Apply minimal form to detail page/ Use generic view on index-detail-result 2023-08-28 19:31:26 +07:00
sosokker
a62096f7e5 Create new views for polls/ Add detail views/ Use template 2023-08-28 19:24:49 +07:00