[Django]-How to show list of foreign keys in Django admin?

-1👍

ForeignKey is the right field type. A OneToMany is only a reverse ManyToOne relation (which is a foreign key).

You can use InlineModelAdmin to edit a Quiz and its Questions on the same form.

Editing Answers on the same page would involve nested inline formsets, which is, AFAIK, not part of Django. If you want to achieve this, you might be interested in the following questions:

Leave a comment