Re: slug is not autogenerated in edit page

2010-02-10 Thread bruno desthuilliers
On Feb 10, 10:31 am, harryos wrote: > I was trying out forms and created a class and its form (snip code) > When the template is rendered it shows the helptext which I provided > in the model's slugfield.But unlike in the django admin 's edit > page ,the slug is not auto generated when I type in

slug is not autogenerated in edit page

2010-02-10 Thread harryos
I was trying out forms and created a class and its form class MyCategory(models.Model): name=models.CharField(max_length=10) description=models.TextField(help_text='a description about the category') slug=models.SlugField(unique=True,help_text='will be auto generated from n