Hello!
I need to save "long description" for my form fields
(pretty_name is not enough)
so i imagine something like:
class Foo(Form):
birth_date = DateField('Long description', required=False)
and then 'Long description' will be stored in field.desc
but i need to subclass every *Field to achieve this b/c *Field doesn't
push down unknown args to Fields.__init__()
next thought was:
class Foo(Form):
birth_date = DateField()
birth_date_desc = 'Long description'
(and override DeclarativeFieldsMetaclass)
but it looks ugly
Am i miss something?
--
Pavel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---