Re: Importing ImageField from file or - better - generating it from another ImageField

2010-06-01 Thread Ricardo Bánffy
e > of what's involved. > > Bill > > 2010/5/31 Ricardo Bánffy : >> Hi folks >> >> I am having huge problems wrapping my head around the ImageField field >> type. I am trying to generate default thumbnails for uploaded images, >> both stored as ImageField at

Importing ImageField from file or - better - generating it from another ImageField

2010-05-31 Thread Ricardo Bánffy
iling miserably at that. I went as far as to generate the thumbnail and saving it to a specific location, but I have so far been unable to attribute the contents of that file to the ImageField that corresponds to the thumbnail. Has anyone solved this problem in a simple way? -- Ricardo Bánffy

Re: Image deduplication and upload_to

2010-05-31 Thread Ricardo Bánffy
e behaviour of the > save/get_available_name methods on core/files/storage.py (in the > django source). Maybe you can write your own storage that overrides > this (never tried it, but should work). > > Nuno > > 2010/5/26 Ricardo Bánffy : >> Hi folks. >> >> I wa

Image deduplication and upload_to

2010-05-26 Thread Ricardo Bánffy
re than one ImageFile and could do something to prevent the actual overwriting of the same data on the same file as before, but that's a start. -- Ricardo Bánffy http://www.dieblinkenlights.com http://twitter.com/rbanffy -- You received this message because you are subscribed to the Googl

Re: Cassandra backend

2010-03-29 Thread Ricardo Bánffy
, 2010 at 11:43 AM, Daniel Hilton wrote: > 2010/3/29 Ricardo Bánffy : >> Hi. >> >> I am about to be asked to either find a way to use Cassandra as a >> database backend or create one. Is there anyone working on something >> like this? >> > > Do you mean w

Cassandra backend

2010-03-29 Thread Ricardo Bánffy
Hi. I am about to be asked to either find a way to use Cassandra as a database backend or create one. Is there anyone working on something like this? -- Ricardo Bánffy http://www.dieblinkenlights.com http://twitter.com/rbanffy -- You received this message because you are subscribed to the

Re: Custom Widget for admin application

2008-12-05 Thread Ricardo Bánffy
But what if I have a ForeignKey or a ManyToManyField in my model? On Fri, Dec 5, 2008 at 12:58 PM, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Pass a grouped list to choices: > > ['group1', [(1, 'item 1'), (2, 'item 2'), ...], ...] --~--~-~--~~~---~--~~ You

Custom Widget for admin application

2008-12-05 Thread Ricardo Bánffy
? 3) Once decided I will do my own widgets, where is the "right" place to put them? In a widgets.py file within the applciation? -- Ricardo Bánffy http://www.dieblinkenlights.com --~--~-~--~~~---~--~~ You received this message because you are subscri