On Mar 23, 6:56 am, Mike Ramirez <gufym...@gmail.com> wrote:
> I think what you want to do with this style is:
>
>         obj.user = User.objects.get(username=request.user.username)
>
> > or maybe just
>
> > obj.user = request.user

Hi Mike. Thank you very much.
This syntax works with psycopg2. I wonder why the previous ones that I
posted works with MySQL.

Thank you very much anyhow. Really appreciate it.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to