Re: sorl-thumbnail: random name in Thumbnail field

2010-04-29 Thread Karen Tracey
On Thu, Apr 29, 2010 at 11:57 AM, xRobot wrote: > > How can I do that ? > "How can I?" type questions should be sent to django-users. This list is for the discussion of the development of Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Djang

sorl-thumbnail: random name in Thumbnail field

2010-04-29 Thread xRobot
I want to use str(uuid.uuid4()) instead of the name uploaded. For instance: I have this model: class foo(models.Model): pic = ThumbnailField(upload_to='pics', size=(200, 200)) I am uploading hello_world.jpg and I should save these named versions should be saved for example in: 4ba9b397-da