Thanks Jason! That fixed the issue.
On Fri, Jul 30, 2010 at 10:23 AM, Jason wrote:
> Actually - make that change to the rest of the field options too. The
> word wrap threw me off there at the end.
>
> On Jul 30, 8:16 am, Jason wrote:
> > Looks like you are generating the fields in two differen
Actually - make that change to the rest of the field options too. The
word wrap threw me off there at the end.
On Jul 30, 8:16 am, Jason wrote:
> Looks like you are generating the fields in two different cases.
> Here's the second one:
>
> self.fields[config.ConfigurationName] =
>
Looks like you are generating the fields in two different cases.
Here's the second one:
self.fields[config.ConfigurationName] =
forms.ChoiceField(
choices=choicelist,
required=False)
Change that to:
Here is my form class
class StationInfo( forms.Form):
def __init__( self, *args, **kwargs):
super( StationInfo, self).__init__( *args, **kwargs)
request = args[1]
selecttuple = "choice0", "--Select One--"
userid = threadlocals.get_current_user()
user
Post the form class (or model if you are generating it from a model).
On Jul 29, 3:17 pm, Jeff Green wrote:
> For example, the field name is Programmer Serial Number but it is being
> displayed
> as Programmer serial number
>
> I have not had this issue in 1.1.1. I was wondering if there was a wa
For example, the field name is Programmer Serial Number but it is being
displayed
as Programmer serial number
I have not had this issue in 1.1.1. I was wondering if there was a way to
ignore the conversion.
On Thu, Jul 29, 2010 at 5:02 PM, Jason wrote:
> I think Django's been doing that for a l
I think Django's been doing that for a long time (not just 1.2.1).
Probably the quick and easy way to change case would be to use just
field.label and pump it into whatever format you want:
{{ field.label|upper }}
You'll have to manually create the rest of the html for the label
using field.html
With Django 1.2.1 it seems that my html template causes the
field.label to display
in lower case except for the first character. Has anyone experienced
this before and how do you
get it display without lower case conversion
My html template snippet is:
{% for field in form %}
{{ field.label
8 matches
Mail list logo