Tuesday, November 5, 2019

Set the model of Form automatically?

In general we create form and set the model in class Meta


class Meta:
   model = SampleModel

but I am going to set the model automatically.
so I am going to make form dynamically.
Is it possible?

--
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/f67d17ba-53ac-4707-891a-23f02589a876%40googlegroups.com.

No comments:

Post a Comment