Now this is getting silly ;)

But, there is one thing I'd like to add. By adding the logic into the
view and adding a new attribute, 'alreadyvoted', to my existing model,
I've managed to make the template very light. This is very different
from the sort of thing you would do in Zope (using PageTemplates and
embedded python). If I had done this in Zope, the PageTemplate would
have a quite a bit of logic and would look quite hairy.

The logic in the view isn't all that bad actually - it just took me
quite a while to get my head around it...

Just a thought...

Cheers,
Tone


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to