But I need to mark form fields from the model-generated forms too! I can
put "*" before the label in my own form. but what to do with generated
forms? There is a working example in Django admin part. I'll look to the
code

Ken пишет:
> By default all form fields are required.  So, it seems to me that when
> you define your forms class, you simply define your fields with a
> 'label' argument with the '*' tacked on.  If you specify that the
> field is not required, define it with a label that doesn't have the
> '*' tacked on.
> 
> Does this work?
> 
> 
> On Oct 18, 10:21 am, [EMAIL PROTECTED] wrote:
>> I'm also looking for this very same solution...
>>
>> Any advice is greatly appreciated!
>>
>> Thanks,
>> Carlos :)
>>
>> On Oct 7, 11:38 am, Oleg Korsak <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Hello! Is there any built-in method to make my form show required field
>>> label with bold (or some king of mark like "*") and other fields as
>>> normal text
>>>  signature.asc
>>> 1KDownload
> 
> 
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com
> To unsubscribe from this group, send email to [EMAIL PROTECTED]
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to