Community Page
- www.codespatter.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- You can do this. from somewhere import SoftDeleteManager class NewManager(SoftDeleteManager): '''new stuff''' and in the model objects = NewManager()
- Great writeup, thanks for that! I'll have question though. Say I import SoftDeleteManager from an external file and use it with objects = SoftDeleteManager() But now, I loose ability to define...
- thanks, man!
- Yes! Finally I know where that annoying example.com lives! Thank you!
- Thanks very much! I think you just saved me a lot of stuffing around with settings.py
Jump to original thread »
I normally like to write code myself instead of installing some large script just to do one task for me. There were a few scripts out there that could create thumbnails, but I wanted something simple and wouldn’t use most of those features. Plus, I wanted to know how to use the Pytho
... Continue reading »
9 ヶ月 ago
Thanks for sharing! :)
9 ヶ月 ago
9 ヶ月 ago
http://www.djangosnippets.org/snippets/192/
Thumbnails are generated in a lazy way. I like the idea.
9 ヶ月 ago
Although, having a filter to do that will be convenient if you change your mind on the thumbnail size.
9 ヶ月 ago
9 ヶ月 ago
8 ヶ月 ago
8 ヶ月 ago
2 ヶ月 ago
will reset the StringIO file to be ready to create another thumbnail.