Hello Christian, Thanks for your response but your solution is not suitable for my problem.
Regards Christian Ledermann <[email protected]> schrieb am So., 1. Aug. 2021, 20:42: > https://adamj.eu/tech/2021/05/05/3-uses-for-functools-partial-in-django/ > > "Here are a few ways I’ve used partial in Django projects. > 1. Making reusable fields without subclassing" > > On Sun, 1 Aug 2021 at 19:12, [email protected] < > [email protected]> wrote: > >> Hello, >> >> i have a own widget that replace TextInput widget. Now i want everytime >> when i have in model.py a declaration models.TextField() that these new >> widget is automatical used in forms.py without everytime manual declared it >> in forms.py. >> >> Have anyone an idea? >> >> Regards >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/ab7213ef-2e67-4084-b587-a5002db2ed63n%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/ab7213ef-2e67-4084-b587-a5002db2ed63n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Best Regards, > > Christian Ledermann > > Galway, IE > Mobile : +353 (0) 899748838 > > https://www.linkedin.com/in/christianledermann > https://github.com/cleder/ > > > <*)))>{ > > If you save the living environment, the biodiversity that we have left, > you will also automatically save the physical environment, too. But If > you only save the physical environment, you will ultimately lose both. > > 1) Don’t drive species to extinction > > 2) Don’t destroy a habitat that species rely on. > > 3) Don’t change the climate in ways that will result in the above. > > }<(((*> > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CABCjzWpNYnRS9rPf-c%2B8Y%2BFLGif5%3D%2Bk40mNZ5eVLY-iO0YtQTA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABCjzWpNYnRS9rPf-c%2B8Y%2BFLGif5%3D%2Bk40mNZ5eVLY-iO0YtQTA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKGT9mwqDAQPPWXPva3ukFhRVsY65AxkxHXpr1-%3DwZRJQ0Px-Q%40mail.gmail.com.

