diff --git a/docs/designs/django_test/mysite/poll/migrations/0001_initial.py b/docs/designs/django_test/mysite/poll/migrations/0001_initial.py index 96c652eb..b1c05b49 100644 --- a/docs/designs/django_test/mysite/poll/migrations/0001_initial.py +++ b/docs/designs/django_test/mysite/poll/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/requirements.txt b/requirements.txt index 950c05d0..395aac8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ email_validator==1.1.3 -Flask==2.0.2 +Flask==2.3.2 Flask_SocketIO==5.1.1 Pillow==9.0.1 -Werkzeug==2.0.2 +Werkzeug==2.2.3 +Pillow==9.3.0 bcrypt==3.2.0 pytest==6.2.5 pytest-steps==1.8.0 diff --git a/src/student_network/helpers/helper_quizzes.py b/src/student_network/helpers/helper_quizzes.py index e3b2dce7..796ccf9b 100644 --- a/src/student_network/helpers/helper_quizzes.py +++ b/src/student_network/helpers/helper_quizzes.py @@ -196,7 +196,6 @@ def validate_quiz( def make_quiz( quiz_name: str, questions: list, answers: list, author: str, date_created: date ): - valid, message = validate_quiz(quiz_name, questions, answers) print(valid, message, quiz_name, questions, answers) if valid: diff --git a/src/student_network/views/chat.py b/src/student_network/views/chat.py index 4f82a70d..e651261c 100644 --- a/src/student_network/views/chat.py +++ b/src/student_network/views/chat.py @@ -19,7 +19,6 @@ @chat_blueprint.route("/chat") def chat(): - chat_rooms = helper_general.get_rooms() return render_template( @@ -34,7 +33,6 @@ def chat(): @chat_blueprint.route("/chat/") def chat_username(username): - chat_rooms = helper_general.get_rooms() messages = helper_general.get_messages(username)[0] diff --git a/src/student_network/views/profile.py b/src/student_network/views/profile.py index c4178db1..b354b156 100644 --- a/src/student_network/views/profile.py +++ b/src/student_network/views/profile.py @@ -90,7 +90,6 @@ def profile(username: str) -> object: # If the user is logged in, specific features can then be displayed. if session.get("username"): - if username == session["username"]: # Gets the user's posts regardless of post settings if user is the # owner of the profile.