Re: how to generate slug from datetime and another model's field

2010-02-03 Thread Daniel Roseman
On Feb 3, 5:56 pm, harryos wrote: > hi > I have an Entry class that has no title but is to be represented > uniquely by a combination of its category and a datetime value.The > Category  has a name field.I have modelled these like > > class MyCategory(models.Model): >         name=models.CharField

how to generate slug from datetime and another model's field

2010-02-03 Thread harryos
hi I have an Entry class that has no title but is to be represented uniquely by a combination of its category and a datetime value.The Category has a name field.I have modelled these like class MyCategory(models.Model): name=models.CharField(max_length=10) description=models.TextF