I want to use this place to publish some of my snippets I collected about the years. They are mostly related to django development and some configration tweaks for my favourtie IDE: Vim.
There are also some very cool (at least I think they are cool ;-) projects on my harddrive which really should get published or promoted a bit. I think some of them will be very interesting for many django developers.
Here are a few bits I want to publish and write about:
- A django integrated class that lets you edit an image like you would query
a model in django. This means: you can do
image.resize(100,200).sharpness(1.5).blacknwhite()and so on. If you then add a few template filters for this methods its gets very powerful tool for image manipulation in the template. - The athor thing that might be very interesting to many django people is an app that handles media items on your site like images, videos, embeded media like youtube videos, pdf files etc. It's useful to have this in a common place to link from any model to a random set of media objects.
- Something I started to think of while developing the media app was that it
would be quite nice to have a sortable many to many relation. You could
ofcourse use an intermediary model for your
ManyToManyFields but this would still not allow you to have a default ordering forModel.m2mfield.all()style queries.
Stay tuned for this to come and much more. I hope I will come up with some interesting posts for you.

Comments ¶
blog comments powered by Disqus