diff --git a/home/views.py b/home/views.py index 3ab35d6..f16fe4d 100644 --- a/home/views.py +++ b/home/views.py @@ -334,7 +334,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