Re: check box problem

2008-08-19 Thread Erik Allik
You can use YourModel._meta.fields to dynamically generate a list of checkboxes for each field to choose from. In your view, you can use that list to dynamically only SELECT those fields from the database (this step is not necessary, but it provides some extra performance for cases where

check box problem

2008-08-19 Thread laspal
hi, My modes is : class Company(models.Model): name = models.CharField( maxlength=100) met_by = models.CharField(null=True, maxlength=200) primary_contact = models.IntegerField(null=True, blank=True) business_overview = models.TextField(null=True, maxlength = 2000 )