On 28 Feb 2022, at 16:24, Prashanth Patelc wrote:
> Any example?
Just read the django-extra-views documentation. Essentially a formset
can be as simple to use as any of the built-in class-based views, eg:
from extra_views import InlineFormSetView
class EditContactAddresses(InlineFormSetView):
model = Contact
inline_model = Address
template_name = …
https://django-extra-views.readthedocs.io/en/latest/pages/formset-
views.html#inlineformsetview
-- Clive
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ACAAA816-D3DF-4732-9A45-8DFABABA0DEA%40indx.co.uk.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment