On Sunday 22 March 2009 03:59:10 pm Joshua Partogi wrote:
> On Mar 23, 6:56 am, Mike Ramirez 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 Mik
On Sunday 22 March 2009 03:33:41 pm Brian Neal wrote:
> On Mar 22, 2:56 pm, Mike Ramirez wrote:
> > On Sunday 22 March 2009 09:25:42 am Brian Neal wrote:
> > > But from what you posted, I'm guessing that line needs to read:
> > >
> > > obj.user = User.objects.get(username=request.user)
> >
> > I t
On Mar 23, 6:56 am, Mike Ramirez 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 pr
On Mar 22, 2:56 pm, Mike Ramirez wrote:
> On Sunday 22 March 2009 09:25:42 am Brian Neal wrote:
>
>
> > But from what you posted, I'm guessing that line needs to read:
>
> > obj.user = User.objects.get(username=request.user)
>
> I think what you want to do with this style is:
>
> obj.user
On Sunday 22 March 2009 09:25:42 am Brian Neal wrote:
> On Mar 22, 8:15 am, Joshua Partogi wrote:
> > Dear all,
> >
> > I just encounter this error using pyscopg2 as my db adapter
> > Exception Type: ProgrammingError
> > Exception Value: can't adapt
> > Exception Location:
> >
On Mar 22, 8:15 am, Joshua Partogi wrote:
> Dear all,
>
> I just encounter this error using pyscopg2 as my db adapter
> Exception Type: ProgrammingError
> Exception Value: can't adapt
> Exception Location:
> /usr/lib/python2.5/site-packages/django/db/backends/util.py in
> e
Dear all,
I just encounter this error using pyscopg2 as my db adapter
Exception Type: ProgrammingError
Exception Value:can't adapt
Exception Location:
/usr/lib/python2.5/site-packages/django/db/backends/util.py in
execute, line 19
The query that I'm trying to run from ad
7 matches
Mail list logo