On Tue, 2009-03-03 at 03:41 -0800, A Melé wrote:
> I tried to add a custom attribute to the objects in the query_set of a
> custom Manager before returning the query_set but it seems not to
> work:
>
> class SongManager(models.Manager):
> def expire(self):
> from boto.s3.connection
I tried to add a custom attribute to the objects in the query_set of a
custom Manager before returning the query_set but it seems not to
work:
class SongManager(models.Manager):
def expire(self):
from boto.s3.connection import S3Connection
c = S3Connection()
for song
2 matches
Mail list logo