I'm wondering what is the better and why.
Imagine I have 4 types of artikels. All need to be represented on a
front page. Each type comes on a distinct place.
Would you
A. use the view type1 = article.objects.filter(...)
type2 = article.objects.filter(...)
idem
idem
OR
B. use the template and use in the template IF condition
All articles should be limited to max 5
Enquest
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---