Hi there,
i'm currently writing my first Django application. I must say that
Django is really what i've been searchin for for years.
Right now I have a problem concerning the usage of the admin interface.
I have a model like this:
from django.core import meta
from django.models.auth import users
class Series(meta.Model):
name = meta.CharField(maxlength=255, primary_key=True)
contributor = meta.ForeignKey(users.User)
#...
When editing or creating a new object of class Series i would like
Django to automatically insert the current logged in user as the
"contributor".
I dont see any way to do this inside the class definition. Hope you guys
can help me here.
Thanks a lot in advance, Daniel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---