Re: Custom attributes in django forms

2018-11-26 Thread aakashchoudhary66
Subject: Re: Custom attributes in django forms thanks!gnchyOn 26 Nov 2018 11:22, "Yavin Aalto Arba" wrote:Hi Gordon, Try starting with the documentation here and if u have any questions please let us know:https://docs.djangoproject.com/en/2.1/ref/forms/widgets/On Sun, Nov 25, 2018, 11:09

Re: Custom attributes in django forms

2018-11-26 Thread gordon nchy
thanks! gnchy On 26 Nov 2018 11:22, "Yavin Aalto Arba" wrote: > Hi Gordon, > > Try starting with the documentation here and if u have any questions > please let us know: > > https://docs.djangoproject.com/en/2.1/ref/forms/widgets/ > > On Sun, Nov 25, 2018, 11:09 PM gordon nchy >> hello everyon

Re: Custom attributes in django forms

2018-11-26 Thread Yavin Aalto Arba
Hi Gordon, Try starting with the documentation here and if u have any questions please let us know: https://docs.djangoproject.com/en/2.1/ref/forms/widgets/ On Sun, Nov 25, 2018, 11:09 PM gordon nchy hello everyone > i'm facing a challenge on how to add custom attributes to django login > f

Re: Custom attributes in Django

2010-08-31 Thread Sebastian Pawlus
Hi thanks for quick response. I was thinking more about real custom attributes. Be able to define a string, or choice filed from admin. And after all create query and/or render form on it. Application that we are working at requires different attributes on objects from client to client. We were lo

Re: Custom attributes in Django

2010-08-30 Thread Beres Botond
Hi Sebastian, I suppose you are trying to do something like this? class CustomAttributes(models.Model): name = models.CharField(max_length=30) value = models.CharField(max_length=50) class ObjectWithCustom(models.Model): name = models.CharField(max_length=30) attributes = models.