-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Your branch is up to date with 'origin/ratingFix/Darkice000'. Changes to be committed: modified: core/models.py modified: core/views.py modified: templates/components/news.html Fixes: 1. style attribute in news.html,type error. 2. Rating overflows after some long decimal places number encounters 3. Rating does not appearing from database for the user if he rated previously, but not showing when reloging. If he rate then shows but when relogin all disappears. Not Fixed: 1. Rating button still not showing in green after being rated.
- Loading branch information
Aarav Kumar
authored and
Aarav Kumar
committed
Jun 23, 2024
1 parent
9070c23
commit 1bede38
Showing
31 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
newsaggregator/core/migrations/0004_alter_rating_headline.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 5.0.6 on 2024-06-23 05:24 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0003_headline_average_rating_headline_rating_count_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='rating', | ||
name='headline', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ratings', to='core.headline'), | ||
), | ||
] |
Binary file added
BIN
+1.08 KB
newsaggregator/core/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+921 Bytes
newsaggregator/core/migrations/__pycache__/0002_contact.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+1.31 KB
...s/__pycache__/0003_headline_average_rating_headline_rating_count_and_more.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+788 Bytes
newsaggregator/core/migrations/__pycache__/0004_alter_rating_headline.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+187 Bytes
newsaggregator/core/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.07 KB
newsaggregator/userauths/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+192 Bytes
newsaggregator/userauths/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.