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