Hi, I did by mistake copy and paste the coding from my editor. But in my coding it is "User". Still I have the same error.
Steve On Sun, Jul 19, 2009 at 12:36 AM, Joshua Russo <josh.r.ru...@gmail.com>wrote: > On Sat, Jul 18, 2009 at 9:03 PM, sjtirtha <sjtir...@gmail.com> 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 django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---