On Sat, Jul 18, 2009 at 9:03 PM, sjtirtha <[email protected]> wrote:
> class AbstractContent(models.Model): > viewed = models.PositiveIntegerField(max_length=7, > blank=True, null=True) > #rating = > #ranking = > created_by = models.ForeignKey(User) > changedBy = models.ForeignKey(Use, related_name='_changedBy') > created_at = models.DateTimeField(auto_now_add=True) > changed_at = models.DateTimeField(auto_now=True, blank=True, > null=True) > > class Meta: > abstract = True > Looks like you misspelled User (as Use) for the ChangedBy field --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

