Re: for loop logic in template

2010-10-27 Thread Daniel Roseman
On Oct 27, 5:33 am, jimgardener wrote: > hi > I have a model with 3 fields > class Employee(models.Model): >     name=models.CharField(max_length=50) >     home_address=models.TextField(blank=True) >     change_filter=models.IntegerField() > > I am creating a modelform using this class as model. >

for loop logic in template

2010-10-26 Thread jimgardener
hi I have a model with 3 fields class Employee(models.Model): name=models.CharField(max_length=50) home_address=models.TextField(blank=True) change_filter=models.IntegerField() I am creating a modelform using this class as model. class EmployeeForm(ModelForm): class Meta: m