Skip to content

Commit

Permalink
str concatination fix (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: Ishaan Mittal <[email protected]>
  • Loading branch information
mittal-ishaan and ishaan-tf authored Jun 2, 2024
1 parent 531aa62 commit 234061a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 234061a

Please sign in to comment.