On Wed, May 13, 2009 at 5:53 AM, Daniel Roseman <
roseman.dan...@googlemail.com> wrote:
>
> On May 13, 2:25 am, Thierry wrote:
> > My table has the following entry:
> >
> > id name
> > 1 foo's
> >
> > I'm currently trying the following:
> >
> > value = "foo's"
> >
> > MyModel.objects.g
Thanks for the tip on the raw sql, I'll read the faq in more details.
On May 13, 5:53 am, Daniel Roseman
wrote:
> On May 13, 2:25 am, Thierry wrote:
>
> > My table has the following entry:
>
> > id name
> > 1 foo's
>
> > I'm currently trying the following:
>
> > value = "foo's"
>
> >
On May 13, 2:25 am, Thierry wrote:
> My table has the following entry:
>
> id name
> 1 foo's
>
> I'm currently trying the following:
>
> value = "foo's"
>
> MyModel.objects.get(name = value)
>
> The above is raising the exception DoesNotExist. Doesn't the get
> function automatically
3 matches
Mail list logo