Monday, February 28, 2022

Re: How to create dynamic models in django??

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 = …

-- 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
To view this discussion on the web visit

No comments:

Post a Comment