Ah great! Thanks for the quick response!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
On Wed, 2006-07-19 at 02:38 -0700, [EMAIL PROTECTED] wrote:
> I have the following model:
>
> class Category(models.Model):
> name = models.CharField(core=True, maxlength=200)
> slug = models.SlugField(prepopulate_from=('name',))
> parent = models.ForeignKey('self', blank=True,
I have the following model:
class Category(models.Model):
name = models.CharField(core=True, maxlength=200)
slug = models.SlugField(prepopulate_from=('name',))
parent = models.ForeignKey('self', blank=True, null=True,
related_name='child')
description = models.Text
3 matches
Mail list logo