03 Mar'13

Latest software sources

https://launchpad.net/~webupd8team

http://www.lfd.uci.edu/~gohlke/pythonlibs/

http://www.dotdeb.org/

Continue reading

11 Mar'12

Django soft image thumbnail replacement

Using new template tag, you’re now free to cache images before rolling out new design and avoid heavy load (maybe via random call)!

https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#with

<img src="{{img.url|thumb:"500x500"%}" />


{% if rand % 10 }
{with newthumb=img.newthumb %}}

or <!-- {{img.url|thumb:"500x580"%} -->

{% endif %}

Continue reading