On Feb 3, 8:06 pm, Chris McComas wrote:
> Sorry,
>
> I've tried a few things...
>
> What kind of sucks is I'm just getting an IndexError: list index out
> of range which isn't very descriptive.
>
> I know the 'lor' query works, I tweaked my view to this:
>
> http://dpaste.com/154251/
>
> I just pu
Well, the IndexError narrows down the source of the problem to any time you're
trying to access something by index.
What is lor.rating_recommendation? Is it a field? If so, what type? If it's a
function, what is it doing internally?
Also, exactly what line of what file is throwing that error? L
Sorry,
I've tried a few things...
What kind of sucks is I'm just getting an IndexError: list index out
of range which isn't very descriptive.
I know the 'lor' query works, I tweaked my view to this:
http://dpaste.com/154251/
I just put a HttpResponseRedirect below the 'if lor:' to make sure
th
On Feb 3, 2010, at 2:52 PM, Chris McComas wrote:
> I'm trying to run this IF in my views, it's throwing an index out of
> range error.
>
> http://dpaste.com/154249/
>
> What have I done wrong?
>
Not reading this, mostly:
http://catb.org/~esr/faqs/smart-questions.html
To be slightly more spec
I'm trying to run this IF in my views, it's throwing an index out of
range error.
http://dpaste.com/154249/
What have I done wrong?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.
5 matches
Mail list logo