Skip to content

Commit

Permalink
Call function to check pending projects and assign IDs after project …
Browse files Browse the repository at this point in the history
…registration
  • Loading branch information
SimoneBendazzoli93 committed Feb 4, 2025
1 parent 6ad8d5a commit 10e4227
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dashboard/apps/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from django.contrib.auth import authenticate, login
from .forms import LoginForm, SignUpForm, RegisterProjectForm
from minio import Minio
from MAIA.dashboard_utils import send_discord_message, verify_minio_availability
from MAIA.dashboard_utils import send_discord_message, verify_minio_availability, check_pending_projects_and_assign_id
from core.settings import GITHUB_AUTH
from django.conf import settings

Expand Down Expand Up @@ -108,6 +108,8 @@ def register_project(request):

msg = 'Request for Project Registration submitted successfully.'
success = True

check_pending_projects_and_assign_id(settings=settings)

# return redirect("/login/")

Expand Down

0 comments on commit 10e4227

Please sign in to comment.