Hi Guys,

Been looking to get the current id of the user logged in everywhere
but can't seem to find how to do this.

Basically in my views.py file I want to insert an entry into a table.
Part of this insert requires the current logged in users id. The only
bit of information I seem to be able to retrieve is the username like
so:

request.user.username

Is there a way of getting the current id of the logged in user?

Thanks,
Chris
--~--~---------~--~----~------------~-------~--~----~
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