Commit Graph

39 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
Sirin Puenggun
4853f8d4fa
Add github actions - Linting and Unit Tests
Add GitHub actions more testing and linting
2023-09-05 20:39:23 +07:00
Sirin Puenggun
92fb71bac9
Add testing status badge to README.md 2023-09-05 20:36:28 +07:00
Sirin Puenggun
4b63eee439
Create flake8-lint.yml 2023-09-05 20:33:10 +07:00
Sirin Puenggun
7d568e9417
Update django.yml 2023-09-05 20:28:45 +07:00
Sirin Puenggun
495b1a5aae
Update python version 2023-09-05 20:25:21 +07:00
Sirin Puenggun
34b565e9d8
Add github workflow more testing and linting 2023-09-05 20:23:41 +07:00
Sirin Puenggun
9fe17a15fd
Merge pull request #19 from Sosokker/iteration1
Fix indent in tests.py
2023-09-05 20:18:45 +07:00
sosokker
380201e020 Fix indent in test 2023-09-05 20:17:33 +07:00
Sirin Puenggun
4409afaef9
Merge pull request #12 from Sosokker/iteration1
Merge new README.md and Delete sqlite.db from remote/ Add .json data
2023-08-31 18:07:33 +07:00
Sirin Puenggun
956869207f
Merge branch 'main' into iteration1 2023-08-31 18:06:45 +07:00
sosokker
99ff9d94d9 Update Install Guide in README.md 2023-08-31 17:58:23 +07:00
sosokker
e60a795494 Delete db.sqlite3 from remote repos/ Add superuser and poll data to remote 2023-08-31 17:25:12 +07:00
Sirin Puenggun
b56a5fc7f0
Merge new README.md (#10)
* Update README.md

* Update README.md
2023-08-29 15:31:32 +07:00
sosokker
8398e8bdb3 Update README.md 2023-08-29 15:30:22 +07:00
sosokker
94390a2478 Update README.md 2023-08-29 15:28:50 +07:00
Sirin Puenggun
b63d0e47ed
Merge pull request #9 from Sosokker/iteration1
Merge README.md from iteration1
2023-08-28 23:32:14 +07:00
sosokker
00f3ca47fa Update README.md 2023-08-28 23:29:59 +07:00
sosokker
dde565c780 Update README.md 2023-08-28 23:25:09 +07:00
Sirin Puenggun
00aa53196e
Merge Iteration 1 progress into main branch Pull request #8
Merge Iteration 1 into main branch. Finish Iteration 1
2023-08-28 23:13:31 +07:00
sosokker
1f3840c0b8 Add publication to poll cards. 2023-08-28 23:11:33 +07:00
sosokker
9f3aba25cd Add docstring to classes and methods and clean the code. 2023-08-28 23:04:08 +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
b2e7376f99 Add new questions and choices. 2023-08-28 20:50:50 +07:00
sosokker
63e35aecdb Update requirements.txt 2023-08-28 20:35:40 +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
50380c72a1 Add db.sqlite3 to remote repository 2023-08-28 19:41:29 +07:00
sosokker
78065a68d3 Regenerate SECRET_KEY/ Hide SECRET_KEY 2023-08-28 19:41:10 +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
sosokker
0db4bad757 Explore Django admin/ Register Question to admin site 2023-08-28 19:03:04 +07:00
sosokker
df073ed6ce Create polls models and migrate 2023-08-28 18:57:49 +07:00
sosokker
53f858ecde Add first views to polls app 2023-08-26 16:39:10 +07:00
sosokker
be11909e59 Create the polls app. 2023-08-26 16:28:34 +07:00
sosokker
eeffcb3831 Creating a Django project. 2023-08-26 16:08:33 +07:00
Sirin Puenggun
9807916570
Initial commit 2023-08-26 15:30:34 +07:00