Hi,

in a model Article i want to store the user who created the article.
I have this:

class Article(models.Model):
     ....
     owner = models.ForeignKey(User, null=True, blank=True)



But I wonder, if it is possible, to set the owner in an overwritten  
save() method, as a drop-down list is not what i want here, as the  
owner should be the person, who created this article.
I don't need a real cms with workflow and such stuff.
Another solution could be, that the drop-down list only contains the  
user, who created this article? How could this work?

Thanks Manuel

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to