Daniele Procida wrote: > Does something exist there something along the lines of: > > prepopulated_fields = { > "author": ([something to retrieve currently-logged-in user from > authmod.User],) > } > > Thanks, > > Daniele > > > > > . > Hi, > In ur admin.py save method just write username = request.user.username this will give u username of the person who is log in .After this you can do what you want.Enjoy
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---