Hi Claude,

Thanks for your feedback, it's a great idea to make modelform a callable
registry instance or something.

In some project we're going to try to acheive this kind of coupling and
work with Python components instead of templates for example:

status = CharField(components=dict(form=MyStatusField, table=MyStatusCell,
card=MyStatusCard))

But this happens would happen in a router class, not directly in the model:
then you could remove Field.formfield() method.

Have a great day

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAC6Op1-CzyJLNddpW2xq6LhGseeqQG0PzukzoQodCvJ8d2PYTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to