Closed brandonbarry123 closed 4 years ago
Melvin states that there's still an issue with "many-to-many" mapping when trying to attach a "chapter" role to user.
No error shows, but the chapter just doesn't get attached.
Problem line of code:
asrg.io/member-portal/django-dashboard-coreui/authentication/views.py, in "register_user":
chapter = form.cleaned_data.get("chapter")
request.user.chapter = chapter
form.save()
Brandon to give a shot at debugging.
Add a simple drop down to allow the user to select a chapter (role) to attach to their account.
Appears roles are attached properly in /admin, but not in /register. Melvin to look at /register to understand "many-to-many" bug.