diff --git a/newsaggregator/core/__pycache__/__init__.cpython-312.pyc b/newsaggregator/core/__pycache__/__init__.cpython-312.pyc index 43cdd5e..984fa69 100644 Binary files a/newsaggregator/core/__pycache__/__init__.cpython-312.pyc and b/newsaggregator/core/__pycache__/__init__.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/admin.cpython-312.pyc b/newsaggregator/core/__pycache__/admin.cpython-312.pyc index 200c0b7..2de6d33 100644 Binary files a/newsaggregator/core/__pycache__/admin.cpython-312.pyc and b/newsaggregator/core/__pycache__/admin.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/apps.cpython-312.pyc b/newsaggregator/core/__pycache__/apps.cpython-312.pyc index 11a5c0b..da707c1 100644 Binary files a/newsaggregator/core/__pycache__/apps.cpython-312.pyc and b/newsaggregator/core/__pycache__/apps.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/decorators.cpython-312.pyc b/newsaggregator/core/__pycache__/decorators.cpython-312.pyc new file mode 100644 index 0000000..c7ad11f Binary files /dev/null and b/newsaggregator/core/__pycache__/decorators.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/models.cpython-312.pyc b/newsaggregator/core/__pycache__/models.cpython-312.pyc index 52f8674..da2082a 100644 Binary files a/newsaggregator/core/__pycache__/models.cpython-312.pyc and b/newsaggregator/core/__pycache__/models.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/urls.cpython-312.pyc b/newsaggregator/core/__pycache__/urls.cpython-312.pyc index ad38553..c433b9f 100644 Binary files a/newsaggregator/core/__pycache__/urls.cpython-312.pyc and b/newsaggregator/core/__pycache__/urls.cpython-312.pyc differ diff --git a/newsaggregator/core/__pycache__/views.cpython-312.pyc b/newsaggregator/core/__pycache__/views.cpython-312.pyc index e1e8bf2..7fe64d1 100644 Binary files a/newsaggregator/core/__pycache__/views.cpython-312.pyc and b/newsaggregator/core/__pycache__/views.cpython-312.pyc differ diff --git a/newsaggregator/core/migrations/__pycache__/0001_initial.cpython-312.pyc b/newsaggregator/core/migrations/__pycache__/0001_initial.cpython-312.pyc index 1aba620..12bd9b2 100644 Binary files a/newsaggregator/core/migrations/__pycache__/0001_initial.cpython-312.pyc and b/newsaggregator/core/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/newsaggregator/core/migrations/__pycache__/0002_contact.cpython-312.pyc b/newsaggregator/core/migrations/__pycache__/0002_contact.cpython-312.pyc index b81e1b5..cdbcca5 100644 Binary files a/newsaggregator/core/migrations/__pycache__/0002_contact.cpython-312.pyc and b/newsaggregator/core/migrations/__pycache__/0002_contact.cpython-312.pyc differ diff --git a/newsaggregator/core/migrations/__pycache__/0003_headline_average_rating_headline_rating_count_and_more.cpython-312.pyc b/newsaggregator/core/migrations/__pycache__/0003_headline_average_rating_headline_rating_count_and_more.cpython-312.pyc index 536012f..b10a7fd 100644 Binary files a/newsaggregator/core/migrations/__pycache__/0003_headline_average_rating_headline_rating_count_and_more.cpython-312.pyc and b/newsaggregator/core/migrations/__pycache__/0003_headline_average_rating_headline_rating_count_and_more.cpython-312.pyc differ diff --git a/newsaggregator/core/migrations/__pycache__/__init__.cpython-312.pyc b/newsaggregator/core/migrations/__pycache__/__init__.cpython-312.pyc index 02b0fbd..7ffb517 100644 Binary files a/newsaggregator/core/migrations/__pycache__/__init__.cpython-312.pyc and b/newsaggregator/core/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/newsaggregator/core/views.py b/newsaggregator/core/views.py index 59eb046..e021ac0 100644 --- a/newsaggregator/core/views.py +++ b/newsaggregator/core/views.py @@ -84,7 +84,7 @@ def news_list(request): return render(request, "core/index.html", context) -# @custom_login_required +@custom_login_required def index(request): Headline.objects.all().delete() session = requests.Session() diff --git a/newsaggregator/db.sqlite3 b/newsaggregator/db.sqlite3 index afbeea9..ca7939d 100644 Binary files a/newsaggregator/db.sqlite3 and b/newsaggregator/db.sqlite3 differ diff --git a/newsaggregator/newsaggregator/__pycache__/__init__.cpython-312.pyc b/newsaggregator/newsaggregator/__pycache__/__init__.cpython-312.pyc index 00e92fa..1cb3f2c 100644 Binary files a/newsaggregator/newsaggregator/__pycache__/__init__.cpython-312.pyc and b/newsaggregator/newsaggregator/__pycache__/__init__.cpython-312.pyc differ diff --git a/newsaggregator/newsaggregator/__pycache__/settings.cpython-312.pyc b/newsaggregator/newsaggregator/__pycache__/settings.cpython-312.pyc index 830f45f..fb062a2 100644 Binary files a/newsaggregator/newsaggregator/__pycache__/settings.cpython-312.pyc and b/newsaggregator/newsaggregator/__pycache__/settings.cpython-312.pyc differ diff --git a/newsaggregator/newsaggregator/__pycache__/urls.cpython-312.pyc b/newsaggregator/newsaggregator/__pycache__/urls.cpython-312.pyc index 1a51f45..bd0fa5e 100644 Binary files a/newsaggregator/newsaggregator/__pycache__/urls.cpython-312.pyc and b/newsaggregator/newsaggregator/__pycache__/urls.cpython-312.pyc differ diff --git a/newsaggregator/newsaggregator/__pycache__/wsgi.cpython-312.pyc b/newsaggregator/newsaggregator/__pycache__/wsgi.cpython-312.pyc index 767972b..fb893b9 100644 Binary files a/newsaggregator/newsaggregator/__pycache__/wsgi.cpython-312.pyc and b/newsaggregator/newsaggregator/__pycache__/wsgi.cpython-312.pyc differ diff --git a/newsaggregator/static/assets/js/preloader.js b/newsaggregator/static/assets/js/preloader.js index e7c47a3..839c57f 100644 --- a/newsaggregator/static/assets/js/preloader.js +++ b/newsaggregator/static/assets/js/preloader.js @@ -6,5 +6,5 @@ window.addEventListener('load', function() { setTimeout(() => { preloader.style.display = 'none'; mainContent.style.display = 'flex'; - }, 2000); // Adjust the delay time (in milliseconds) as needed + }, 100); // Adjust the delay time (in milliseconds) as needed }); diff --git a/newsaggregator/templates/components/navbar.html b/newsaggregator/templates/components/navbar.html index af51a49..f54f3ee 100644 --- a/newsaggregator/templates/components/navbar.html +++ b/newsaggregator/templates/components/navbar.html @@ -2,10 +2,12 @@ + \ No newline at end of file diff --git a/newsaggregator/templates/userauths/sign-in.html b/newsaggregator/templates/userauths/sign-in.html index 8702333..46552a0 100644 --- a/newsaggregator/templates/userauths/sign-in.html +++ b/newsaggregator/templates/userauths/sign-in.html @@ -1,4 +1,4 @@ -{% extends '/base.html' %} +{% extends 'core/base.html' %} {% load static %} {% block authentication %} diff --git a/newsaggregator/userauths/__pycache__/__init__.cpython-312.pyc b/newsaggregator/userauths/__pycache__/__init__.cpython-312.pyc index 9e5d88a..1a09e31 100644 Binary files a/newsaggregator/userauths/__pycache__/__init__.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/__init__.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/admin.cpython-312.pyc b/newsaggregator/userauths/__pycache__/admin.cpython-312.pyc index 30b5516..5848778 100644 Binary files a/newsaggregator/userauths/__pycache__/admin.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/admin.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/apps.cpython-312.pyc b/newsaggregator/userauths/__pycache__/apps.cpython-312.pyc index 2c7b4a1..b9781cf 100644 Binary files a/newsaggregator/userauths/__pycache__/apps.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/apps.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/forms.cpython-312.pyc b/newsaggregator/userauths/__pycache__/forms.cpython-312.pyc index 0d17cc1..6ff2407 100644 Binary files a/newsaggregator/userauths/__pycache__/forms.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/forms.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/models.cpython-312.pyc b/newsaggregator/userauths/__pycache__/models.cpython-312.pyc index 1d3a80a..5bce50a 100644 Binary files a/newsaggregator/userauths/__pycache__/models.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/models.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/urls.cpython-312.pyc b/newsaggregator/userauths/__pycache__/urls.cpython-312.pyc index bc6e29c..8cb60e7 100644 Binary files a/newsaggregator/userauths/__pycache__/urls.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/urls.cpython-312.pyc differ diff --git a/newsaggregator/userauths/__pycache__/views.cpython-312.pyc b/newsaggregator/userauths/__pycache__/views.cpython-312.pyc index ab14031..79f7bd4 100644 Binary files a/newsaggregator/userauths/__pycache__/views.cpython-312.pyc and b/newsaggregator/userauths/__pycache__/views.cpython-312.pyc differ diff --git a/newsaggregator/userauths/migrations/__pycache__/0001_initial.cpython-312.pyc b/newsaggregator/userauths/migrations/__pycache__/0001_initial.cpython-312.pyc index 9e02f13..7947f31 100644 Binary files a/newsaggregator/userauths/migrations/__pycache__/0001_initial.cpython-312.pyc and b/newsaggregator/userauths/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/newsaggregator/userauths/migrations/__pycache__/__init__.cpython-312.pyc b/newsaggregator/userauths/migrations/__pycache__/__init__.cpython-312.pyc index b165916..440734c 100644 Binary files a/newsaggregator/userauths/migrations/__pycache__/__init__.cpython-312.pyc and b/newsaggregator/userauths/migrations/__pycache__/__init__.cpython-312.pyc differ