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.
>
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
2 matches
Mail list logo