you're right, that's better. thank you!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group,
Of course you have to "import os.path"On Sep 25, 2006, at 7:03 PM, zenx wrote:I needed to make this and I hope it helps some people there. Features:- Generate thumbs from ImageFields when creating the models(file.jpg -> thumbnail saved as: file.thumbnail.jpg)- Showing thumbs in admin- Deleting
See belowOn Sep 25, 2006, at 7:03 PM, zenx wrote:I needed to make this and I hope it helps some people there. Features:- Generate thumbs from ImageFields when creating the models(file.jpg -> thumbnail saved as: file.thumbnail.jpg)- Showing thumbs in admin- Deleting thumbs when deleting the
In delete function use:
super(MyClass, self).delete() instead of super(Artista, self).delete().
I think everything else is ok.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
I needed to make this and I hope it helps some people there. Features:
- Generate thumbs from ImageFields when creating the models
(file.jpg -> thumbnail saved as: file.thumbnail.jpg)
- Showing thumbs in admin
- Deleting thumbs when deleting the object
In your models.py:
5 matches
Mail list logo