sosokker
fcbfcbb38f
Update Setup to load Vote
2023-09-18 02:17:56 +07:00
sosokker
b5495e686d
Update Data
2023-09-18 02:12:40 +07:00
sosokker
7db720598a
Use Lazy Import (get_model) To solve migration problem
...
It look like migrate occur at import time and that make error, i'm not sure what happen under the hood but I think this way fix it.
2023-09-18 02:12:33 +07:00
sosokker
764c273757
Add new data
2023-09-18 00:49:12 +07:00
Sirin Puenggun
2af1c24f3a
Create Installation.md
2023-09-18 00:37:48 +07:00
sosokker
f97a772bf3
Format file according to flake8
2023-09-18 00:11:35 +07:00
sosokker
c81dea9a14
Poll Creation - Authenticate User can create new poll
2023-09-17 23:28:33 +07:00
sosokker
7e57da4b89
Show tags on page / Change get_tags position
2023-09-17 18:59:47 +07:00
sosokker
bd8fa9229b
Add Tag field for Question in Admin Page
2023-09-17 17:03:52 +07:00
sosokker
5dd381c44d
Add search
2023-09-17 15:07:53 +07:00
Sirin Puenggun
3a5d8dacbf
Iteration3 Update Setup.py and ps1 ( #42 )
...
* Update Setup file
* Add install method
* Update setup.py
2023-09-17 00:14:54 +07:00
Sirin Puenggun
216764d3aa
Merge pull request #41 from Sosokker/iteration3
...
Iteration3 Update Redirect page after successfully Signup
2023-09-16 00:35:52 +07:00
sosokker
f0c048318d
Write test for redirect signup
2023-09-16 00:30:28 +07:00
sosokker
0987543e53
Change redirect page after signup.
2023-09-16 00:30:15 +07:00
Sirin Puenggun
30bf6a9341
Merge pull request #40 from Sosokker/iteration3
...
Iteration3 Add Trending and more Test + Modify view to return context about trend and update new poll + user data
2023-09-16 00:20:51 +07:00
sosokker
707a8de93d
Order trend poll with trend_score + end_date / Update Data
2023-09-16 00:19:03 +07:00
sosokker
63b0f6ee35
update admin.py field
2023-09-15 23:53:00 +07:00
sosokker
a9eb3b6497
Add trend score and modify view / test to apply trending
2023-09-15 23:52:51 +07:00
Sirin Puenggun
0f243f3d3b
Merge pull request #39 from Sosokker/iteration3
...
Add up/down Vote + Update admin field
2023-09-15 02:24:01 +07:00
sosokker
f6d0239ec6
Add up/down Vote + Update admin field
2023-09-15 02:22:06 +07:00
Sirin Puenggun
5eef14cdf3
Merge pull request #38 from Sosokker/iteration3
...
Add Logging
2023-09-15 01:34:58 +07:00
sosokker
c3b5984e33
Add Logging
2023-09-15 01:33:09 +07:00
Sirin Puenggun
73b9d3d2b1
Merge pull request #36 from Sosokker/iteration3
...
Iteration3 Merge Update Test + Readme + Vote view
2023-09-14 23:52:00 +07:00
sosokker
0d42e56139
Add Signup Test - Update User/Poll data
2023-09-14 23:48:52 +07:00
sosokker
15d61b8c32
Add setup file and Edit Installation Guide
2023-09-14 23:34:45 +07:00
sosokker
82d096e59f
Update README.md
2023-09-14 22:01:45 +07:00
sosokker
8008ea9b88
Update data + README
2023-09-14 21:52:44 +07:00
sosokker
b730333de3
Add Vote View Test and Recode it a bit + Seperate test
...
Change Model a bit and migrate back
Update Login, Signup UI a bit
2023-09-14 21:47:12 +07:00
Sirin Puenggun
bab964d08f
Merge pull request #35 from Sosokker/iteration3
...
Iteration3 Update button status + README.md
2023-09-14 18:30:51 +07:00
sosokker
aa0810fca8
Show button that user used to vote and update README.md
2023-09-14 18:25:14 +07:00
sosokker
e4f31bff6b
Add a way to do up,down vote in model
2023-09-12 16:31:03 +07:00
Sirin Puenggun
0aa1d7d213
Merge pull request #33 from Sosokker/iteration3
...
Iteration3 Merge model domain approach + Authetication System
2023-09-12 14:02:17 +07:00
sosokker
c2ab9ee760
Fix 302 redirect in test cause of login redirect
2023-09-12 14:01:07 +07:00
sosokker
953e6736ce
Add new User/Poll Fixture + Update Readme
2023-09-12 12:53:14 +07:00
sosokker
e733fac7aa
Add success message when vote again/ delete participate in admin
2023-09-12 02:58:55 +07:00
sosokker
50874dbf40
Fix query in Index / Check User Vote/ Refine Model
...
- Use Model from domain model
- Change Vote Query because I change model
- Write some properties such as participants in Question
2023-09-12 02:47:21 +07:00
sosokker
791d9c3b0d
Use message framework in vote
2023-09-12 00:33:57 +07:00
sosokker
20a1d6c0fd
Redirect when non-Authenticate User go to detail/result
2023-09-11 23:46:27 +07:00
sosokker
01ea565859
Add User+Authenticate(login,logout,reset password)
...
Also add view for signup page + custom form for signup
2023-09-11 23:38:13 +07:00
Sirin Puenggun
d6fd968ea4
Merge pull request #27 from Sosokker/Sosokker-Update-Readme
...
Update README.md
2023-09-10 22:57:59 +07:00
Sirin Puenggun
e9749ecc0f
Update README.md
2023-09-10 22:57:01 +07:00
Sirin Puenggun
287c69e9db
Merge pull request #26 from Sosokker/iteration2
...
Iteration2 - Update UI + Fix pub_date to editable + Format with prettier and black.py
2023-09-10 21:55:01 +07:00
sosokker
66038b25d7
Update UI
2023-09-10 21:53:07 +07:00
sosokker
356e78a839
Editable pub_date + docstring / format file with black.py
2023-09-10 21:52:46 +07:00
Sirin Puenggun
b84c71df4e
Merge pull request #25 from Sosokker/iteration2
...
Iteration2 Merge new feature and Refine UI
2023-09-09 21:33:06 +07:00
Sirin Puenggun
1e084ed11c
Update README about debug mode
2023-09-09 21:25:35 +07:00
sosokker
1b996629da
Refine UI/UX - Add new Feature (Model) - Refine View
...
1. Refine UI/UX
Apply Tailwinds
Rewrite all page
2. Add new feature to model
Add new field
- description - long - short
- use default + editable instead of auto_add_now
- track up vote
- Change timezone
- Add time left track
-Add participant
-Add up/down vote attribute
-- Choice
- Add total_vote
-Add calculate_percentage of vote
3. Refine View
-Redirect instead of home page
-Add context to result, detail view
-Apply ChartJS
-Delete home
2023-09-09 21:20:23 +07:00
sosokker
f33dbdf1d5
Delete update pub_date field in admin
2023-09-09 00:54:54 +07:00
sosokker
c116a2ff0d
Update Test and Model for Default pub_date Handling
...
In this commit, I change default field of pub_date into auto_add_now and it change the way pub_date assign work so I need to add several updates to address issues and errors in the code and tests related to the handling of the pub_date attribute in the Question model.
Test Updates
- Modified the create_question function in tests to accept pub_date when necessary and set it explicitly in the tests to match the new model definition.
Ensured the correct ordering of past questions in the index view.
Model Update
- Modified the Question model to use auto_now_add=True for pub_date to set it to the current date and time automatically.
2023-09-08 22:36:41 +07:00
sosokker
c54492c418
Add end_date customizer to admin panel
2023-09-07 22:43:54 +07:00