Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC-5 (spacs) : fixed profile redirection and invitations and application update issues #1314

Closed
wants to merge 24 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5c61a54
GAD-5: Fix responsiveness (#1125)
Lawful2002 Feb 23, 2023
9a4fc4d
Merge branch 'main' into gad-5
akshatnema Mar 15, 2023
b295d7f
Merge branch 'main' into gad-5
akshatnema Mar 15, 2023
72e34e7
Merge branch 'main' into gad-5
akshatnema Mar 18, 2023
721ee82
Merge branch 'main' into gad-5
akshatnema Mar 19, 2023
91ef4e9
Merge branch 'main' into gad-5
akshatnema Mar 23, 2023
da49572
Merge branch 'main' into gad-5
akshatnema Mar 26, 2023
bcd84d3
debugging and refactoring
sudheerdagar Feb 20, 2024
037f6bc
resolved invitation notifications error
nityatiwari002 Feb 20, 2024
b19aa2d
Merge pull request #1 from nityatiwari002/main
sudheerdagar Feb 20, 2024
6f24ede
added apply convocation functionality
nityatiwari002 Feb 20, 2024
99c0709
Merge branch 'sudheerdagar:main' into main
nityatiwari002 Feb 20, 2024
3a13ee2
fixed profile redirection issue
sudheerdagar Feb 20, 2024
25000d4
Merge pull request #2 from nityatiwari002/main
sudheerdagar Feb 20, 2024
e6e9d2f
fixed profile redirection issues
sudheerdagar Feb 21, 2024
654496a
Merge branch 'main' of https://github.com/sudheerdagar/Fusion
sudheerdagar Feb 21, 2024
dfdc6b3
refactoring and other changes
sudheerdagar Feb 22, 2024
47af12c
GAD -5 Dashboard Changes (#1325)
BlackHAWK2001 Mar 11, 2024
ed642ee
dashboard and usercard updated (#1329)
Arpittak Mar 12, 2024
01ef828
resolved routing error
nityatiwari002 Feb 22, 2024
7eec96a
Merge remote-tracking branch 'upstream/gad-5
sudheerdagar Mar 15, 2024
e1c716a
removed delete button
nityatiwari002 Mar 15, 2024
83d1d94
Merge branch 'main' into main
sudheerdagar Mar 18, 2024
2ad8b76
Merge pull request #3 from nityatiwari002/main
sudheerdagar Mar 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions FusionIIIT/applications/scholarships/views.py
Original file line number Diff line number Diff line change
@@ -108,11 +108,12 @@ def convener_view(request):
active_batches = range(datetime.datetime.now().year - 4 , datetime.datetime.now().year + 1)
# active_batches=str(active_batches)
# active_batches.split(',')
print(active_batches)
querybatch = []
for batch in active_batches:
if batch > 2019:
batch=batch%2000
querybatch.append(batch)
for curbatch in active_batches:
if curbatch > 2019:
curbatch=curbatch%2000
querybatch.append(curbatch)
print( active_batches)
query = reduce(or_, (Q(id__id__startswith=batch) for batch in querybatch))
print(query)
@@ -142,7 +143,7 @@ def convener_view(request):
notification_convocation_flag=True,
invite_convocation_accept_flag=False) for student in recipient])
# Notification ends

print(batch)
messages.success(request,
award + ' applications are invited successfully for ' + str(batch) + ' batch(es)')
return HttpResponseRedirect('/spacs/convener_view')