AWS2 / djmatrics

0 stars 1 forks source link

Enrolment should not have Term and should filter UFs showed in backend by Career #12

Closed emieza closed 3 years ago

emieza commented 3 years ago

Term should be removed from model.

Admin backend for Enrolment model should show only the UFs related to the selected Career. If no career is selected, no UF will be showed.

The proper mechanism to use is formfield_for_manytomany https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_manytomany

emieza commented 3 years ago

followed in issue #20