I currently rely on the admin panel to create or edit a new/existing order (i.e. Order
with its children model OrderItem
in the tabular inline).
But this time I need to create a view with the same function for non-admin users. More specifically, I need the + Add another
button in the tabular inline for users to add more Order Item
s themselves when necessary.
I have looked into a few stackoverflows (one of them) and books. So far they at most only mentioned about inlineformset_factory
, but not how to create the + Add another
. Any ideas please? Thank you!