Re: Confused by attribute error

2009-03-30 Thread Robocop
Bingo! Looks like i was lazy with my code and threw decorators on ALL the functions, not just my views. There was a lingering decorator on the send_file function that i did not notice. Thanks for pointing out my sloppines;) You saved me a ton of time today, double thanks! On Mar 30, 12:02 pm,

Re: Confused by attribute error

2009-03-30 Thread Karen Tracey
On Mon, Mar 30, 2009 at 2:23 PM, Robocop wrote: > > So the fun continues. I realized that i did not need to use the > login_required decorator on this function since it's just tossed > around in the backend, so i took that out thinking it would prevent > decorators.py from being called. Did yo

Re: Confused by attribute error

2009-03-30 Thread Robocop
So the fun continues. I realized that i did not need to use the login_required decorator on this function since it's just tossed around in the backend, so i took that out thinking it would prevent decorators.py from being called. When i hit the function above now, it posts the same error with a

Re: Confused by attribute error

2009-03-30 Thread Robocop
Sorry for the delay, i've been sidetracked multiple times in the last few days. The code is post here: http://dpaste.com/21221/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Confused by attribute error

2009-03-27 Thread Robocop
Also i don't comment until i put my code into production (bad habit, yes i know :x), so let me know if you need me to throw in some dirty comments to make it more readable. On Mar 27, 3:21 pm, Robocop wrote: > On Mar 27, 3:05 pm, Briel wrote: > > > Hi. > > It would be really helpful to be able

Re: Confused by attribute error

2009-03-27 Thread Robocop
On Mar 27, 3:05 pm, Briel wrote: > Hi. > It would be really helpful to be able to look at your function as > well. My > Guess is that the problem lies there, since this is happening when you > call the function. Even if the problem is within django it would be a > lot > easier to find when look

Re: Confused by attribute error

2009-03-27 Thread Briel
Hi. It would be really helpful to be able to look at your function as well. My Guess is that the problem lies there, since this is happening when you call the function. Even if the problem is within django it would be a lot easier to find when looking through your function to see what it does. Als

Confused by attribute error

2009-03-27 Thread Robocop
Hello again, So i'm working on some of my old code, and a previously (or so i remember) function no longer works. When calling it my django page posts the error: AttributeError at /audit_sheets/TEST/ 'list' object has no attribute 'user' Request Method: POST Request URL:http://suppo