#13564: Provide class attributes for form fields
-------------------------------+--------------------------------------------
Reporter: h3 | Owner: trebor74hr
Status: assigned | Milestone:
Component: Forms | Version: 1.2-beta
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Changes (by julien):
* milestone: 1.3 =>
Comment:
OK, it looks like this ticket has diverged into 2 different ones: (1)
Automatically add a CSS class to a form field based on the field's type;
and (2) Have a simple way of overriding or adding CSS classes to a form
field.
(1) seems alright and useful, but only if the class name is made very
specific to avoid backwards incompatibility (something along the lines of
"django-charfield" seems reasonable but I'd like to see something even
more specific to avoid any clashes).
(2) looks really useful as I've myself needed this is many projects
before. It looks like a different (though related) issue as the one
reported in the initial ticket description, so I'd encourage one to create
a separate ticket for it.
Also, we're very close to releasing 1.3 and therefore this new feature
would not be considered in this release, so I'm removing this ticket from
the 1.3 milestone.
--
Ticket URL: <http://code.djangoproject.com/ticket/13564#comment:10>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.