Hi Ondřej.

For your question #1, you could create a field in the model itself and then use 
signals[1] to populate it upon the saving of a "vote" instance. 

#2: The validation should all be done during form validation[2], prior to save. 
Using a Form or ModelForm. That way, the user can get friendly, useful errors.

#3: I have no idea. Maybe someone else has recommendations. 

#4: There's a whole lot of stuff in that question. Maybe if you broke out some 
specific examples someone will try to explain the rationale behind the design.

[1] http://docs.djangoproject.com/en/1.2/topics/signals/
[2] http://docs.djangoproject.com/en/1.2/ref/forms/validation/


Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to