Skip to content

Commit

Permalink
Add debug print statement for cleaned data in update_user_table function
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneBendazzoli93 committed Feb 19, 2025
1 parent 2f75be9 commit baa611c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MAIA/dashboard_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def update_user_table(form, user_model, maia_user_model, project_model):
namespace_list.append(namespace)

for namespace in namespace_list:
print(form.cleaned_data)
namespaced_entries = [entry for entry in form.cleaned_data if entry.endswith(namespace)]
if project_model.objects.filter(namespace=namespace).exists():
project_model.objects.filter(namespace=namespace).update(
Expand Down

0 comments on commit baa611c

Please sign in to comment.