Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-09 Thread Pepsodent Cola
replace >>> row = dictfetchall2(cursor) >>> >>> With this >>> row = AltwordManager.dictfetchall2(**cursor) >>> >>> Cal >>> >>> >>> On Sun, Sep 8, 2013 at 8:23 PM, Pepsodent Cola wrote: >>> >>>> I don&#x

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Cal Leeming [Simplicity Media Ltd]
AltwordManager.dictfetchall2(**cursor) >> >> Cal >> >> >> On Sun, Sep 8, 2013 at 8:23 PM, Pepsodent Cola wrote: >> >>> I don't understand how to fix this error message? Here is the code that >>> made things break. >>> >>&

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Pepsodent Cola
ames, > > Ok will do! > > > > On Sunday, September 8, 2013 9:23:48 PM UTC+2, Pepsodent Cola wrote: >> >> I don't understand how to fix this error message? Here is t

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Pepsodent Cola
Hi James, Ok will do! On Sunday, September 8, 2013 9:23:48 PM UTC+2, Pepsodent Cola wrote: > > I don't understand how to fix this error message? Here is the code that > made things break. > > Exception Value: global name 'dict

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread James Bennett
You wrote a method on a class, but didn't define it as taking the 'self' argument that's required for instance methods of Python classes. It may be best to back up a bit and work through some introductory Python tutorials before resuming on your Django app. -- You received this message because y

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Pepsodent Cola
8:23 PM, Pepsodent Cola > > > wrote: > >> I don't understand how to fix this error message? Here is the code that >> made things break. >> >> Exception Value: global name 'dictfetchall2' is not defined >> >> >> >>

Re: Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Cal Leeming [Simplicity Media Ltd]
Try and replace row = dictfetchall2(cursor) With this row = AltwordManager.dictfetchall2(cursor) Cal On Sun, Sep 8, 2013 at 8:23 PM, Pepsodent Cola wrote: > I don't understand how to fix this error message? Here is the code that > made things break. > > Exception V

Exception Value: global name 'dictfetchall2' is not defined

2013-09-08 Thread Pepsodent Cola
I don't understand how to fix this error message? Here is the code that made things break. Exception Value: global name 'dictfetchall2' is not defined #___ def dictfetchall(cursor): "Ret