Re: working with a returned object inside another class

2008-12-30 Thread Briel
Just a tip if you're not familiar with SQL, you can get django- evolution. It works with syncdb, in that syncdb will detect when an "evolution" of the db is needed like in the example above. It can't do everything, but it can do a lot if things for you, with some simple commands. A second thing.

Re: working with a returned object inside another class

2008-12-29 Thread garagefan
Thanks, that worked perfectly. right now i can lose the data as i'm still learning this all. I will have to look into editing the DB via the shell for future fixes On Dec 29, 11:20 pm, Daniel Roseman wrote: > On Dec 29, 11:04 pm, garagefan wrote: > > > awesome... it was all in that [:1]! > > >

Re: working with a returned object inside another class

2008-12-29 Thread Daniel Roseman
On Dec 29, 11:04 pm, garagefan wrote: > awesome... it was all in that [:1]! > > now, next issue... > > "OperationalError at /admin/galleries/gallery/ > (1054, "Unknown column 'galleries_gallery.status' in 'field list'")" > > i just added the status field as i wasn't worried about any of that > pr

Re: working with a returned object inside another class

2008-12-29 Thread garagefan
awesome... it was all in that [:1]! now, next issue... "OperationalError at /admin/galleries/gallery/ (1054, "Unknown column 'galleries_gallery.status' in 'field list'")" i just added the status field as i wasn't worried about any of that previously... now, it appears to be causing issues. I've

Re: working with a returned object inside another class

2008-12-29 Thread Daniel Roseman
On Dec 29, 9:02 pm, garagefan wrote: > below is the code... the first def doesn't return anything... (def > get_gal_teaser(self)) > i'm using a custom tag to return the Gallery class to the base > template file, which works...  so calling the method get_gal_teaser > works as well... and returns a

working with a returned object inside another class

2008-12-29 Thread garagefan
below is the code... the first def doesn't return anything... (def get_gal_teaser(self)) i'm using a custom tag to return the Gallery class to the base template file, which works... so calling the method get_gal_teaser works as well... and returns an object? when the second e = e.image.get_thumbn