AWS2 / djmatrics

0 stars 1 forks source link

[SPEC] Customize admin backend and make inlines in all nested objects #2

Closed emieza closed 3 years ago

emieza commented 3 years ago

Admin panel has all objects as independent forms. Though, some of them are nested with PK and need to be filtered (for example, the MPs of a Career).

This objects need to be nested in the forms using inlines, at least the following ones:

Term > Career > MP > UF
User > Enrolment > Requirements > Uploads (needs rediscussion)
User > Enrolment > UF (needs rediscussion)

You can see an example on how to customize the admin backend for a model and make inlines in the admin.py file in import branch.