2010/5/17 Alper Çuğun :
> Hello,
>
> A quick Google search reveals a ton of confusion about:
> Meta: order_with_respect_to
>
> I have an abbreviated Model:
>
> class NewsItem(models.Model):
> # newsitems will be linked to blogs and projects
> content_type = models.ForeignKey(ContentType)
>
Hello,
A quick Google search reveals a ton of confusion about:
Meta: order_with_respect_to
I have an abbreviated Model:
class NewsItem(models.Model):
# newsitems will be linked to blogs and projects
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField
2 matches
Mail list logo