Re: URGENT - Please help. Boolean field shows up as [null]

2010-04-14 Thread pedjk
Problem solved. I just had to fix the code in mysql. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@goog

URGENT - Please help. Boolean field shows up as [null]

2010-04-14 Thread pedjk
I created a Boolean field in django, but it shows up as "[null]" on my webpage. I have three other Boolean fields in the same page that work fine. What's causing this. My code in forms is: CreateLead = forms.BooleanField(required=False) in models is: CreateLead = models.BooleanField() Tha

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Thanks Bill. I'll clarify. Basically what I want to do is give each option under the choice field a function. So once the user has selected an option under the drop down box, that would initiate a script which would generate a set of links (buttons) at the bottom of the page to take the user to th

Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Ok, I'm quite new to Python and Django so this might actually have a simple solution. I'm coding for a form using Django and I have a ModelChoiceField. Now what I want to do is make the options for this field customizable. So if you choose an option, a set of links would be generated allowing you