Ok below is my tables which has the "emailcomments" boolean field
defined for it:
class Comment(models.Model):
title = models.CharField(max_length=1,choices=TITLE_CHOICES)
firstname = models.CharField(max_length=15)
lastname = models.CharField(max_length=25)
commenttext = models.Te
On Fri, Feb 11, 2011 at 3:21 PM, hank23 wrote:
> Still not sure why this is not working. I went back and set a value in
> my form field definition for the boolean field and the value I set is
> now coming back in the Traceback, whereas before the value None was
> being returned as the value for th
Still not sure why this is not working. I went back and set a value in
my form field definition for the boolean field and the value I set is
now coming back in the Traceback, whereas before the value None was
being returned as the value for this field, regardless of whether I
had it checked or not.
On Fri, Feb 11, 2011 at 2:23 PM, hank23 wrote:
> I've been through the documentation and have been unable to find an
> example of how to define a BooleanField when writing the code for a
> table in my models.py file. Specifically are there any required
> parameters when coding a BooleanField in a
I've been through the documentation and have been unable to find an
example of how to define a BooleanField when writing the code for a
table in my models.py file. Specifically are there any required
parameters when coding a BooleanField in a table definition? Thanks
for the help.
--
You received
5 matches
Mail list logo