svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
22 stars 12 forks source link

Don't register event admin inlines in the events app, move to promo and pizzas app #2753

Open JobDoesburg opened 1 year ago

JobDoesburg commented 1 year ago

Describe the change

The events app shouldn't depend on the pizzas and promo app, but the other way around.

Motivation

Better modularity of apps

Current implementation

Suggested implementation

Unregister the events admin in the pizzas app, and reregister with the inline

Additional context

DeD1rk commented 1 year ago

See #2800 for some kind of inspiration (where it's done for EventMessage view)