From ce468c1561b2597ca76c302a7b649e500805d0df Mon Sep 17 00:00:00 2001 From: Ishaan Mittal Date: Sun, 2 Jun 2024 22:39:10 +0530 Subject: [PATCH] str concatination fix --- home/views.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/views.py b/home/views.py index 0b47b3d..2b7217d 100644 --- a/home/views.py +++ b/home/views.py @@ -333,7 +333,7 @@ def allocationForm(request): message = "Form is closed for now." elif Allocation.objects.filter(email=student,period=alloc_form.period).exists(): allocation_id = Allocation.objects.filter(email=student,period=alloc_form.period).last() - message = "You have already filled the form for this period. with first preference:" + allocation_id.first_pref + " second preference:" + allocation_id.second_pref + message = "You have already filled the form for this period. with first preference:" + allocation_id.first_pref elif request.method == "POST" and request.user.is_authenticated : try: period_obj = alloc_form.period diff --git a/requirements.txt b/requirements.txt index 072d2f1..17b8eb7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Django==5.0.3 django_allauth==0.54.0 django_environ==0.10.0 django_import_export==3.2.0 -gunicorn == 22.0.0 +gunicorn==22.0.0 whitenoise==6.4.0 django-cloudinary-storage==0.3.0 django-admin-logs==1.0.2