Re: Working but ugly model code. Need advice.

2008-09-01 Thread Guillaume Lederrey
If you just want to have a clean working solution, have a look at django-photologue (http://code.google.com/p/django-photologue/). It is amazing, and really easy to integrate well. Also have a look at sorl-thumbnail (http://code.google.com/p/sorl-thumbnail/). If you want to write your own code an

Working but ugly model code. Need advice.

2008-08-29 Thread drbig
Hi! Before I paste the code here is what I want to achieve: 1) All content is supplied via django admin, no custom upload/edit forms 2) The Photo class holds title and note (the text data), two images (full and thumb), and stats data of hits and comments count 3) The stamp should be updated only