I'm stuck on using django's admin feature.
How do I use admin's list_filter for the pizza from toppingsAdmin?
For example, I have these models,
class Topping(models.Model):
# ...
class Pizza(models.Model):
# ...
toppings = models.ManyToManyField(Topping)
From PizzaAdmin, I can call list_filter = ('toppings',)
But, How do I call pizzas from toppingsAdmin. Seems like list_filter = ('pizzas',)
does not work, because it doesn't have it as variable inside the Topping model.
Thank you