Commit Graph

6 Commits

Author SHA1 Message Date
sosokker
215be4d95c Modify test case and logic of can_vote in Question model 2023-09-05 21:55:41 +07:00
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
380201e020 Fix indent in test 2023-09-05 20:17:33 +07:00
sosokker
9f3aba25cd Add docstring to classes and methods and clean the code. 2023-08-28 23:04:08 +07:00
sosokker
68385de61f Add Testing on models, views, detailed/ Fix bugs
Fix time bugs of was_published_recently()  in models
2023-08-28 20:01:39 +07:00
sosokker
be11909e59 Create the polls app. 2023-08-26 16:28:34 +07:00