Sorry for multiple messages but I think that I've accidently fixed it: from django.db import models from django.contrib.auth.models import User from django.contrib.auth.signals import user_logged_in import datetime
class News(models.Model): text = models.TextField() title = models.TextField() date = models.DateTimeField(editable=False, default=datetime.datetime.now()) source_name = models.CharField(max_length=50) created = models.ForeignKey(User, default=user_logged_in, related_name="news_created_set") edited = models.ForeignKey(User, default=user_logged_in, related_name="news_edited_set") class Meta: verbose_name_plural = "News" abstract = False -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/EYKGyLPnOmkJ. 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.