I thought I could use the generic views to fill the side bars with
summary data.
# urls.py
latest_news_nbr = {
"queryset" : News.objects.all().count(),
}
nbr_users = {
"queryset" : PersonProfile.objects.count(),
}
Could some one tell me how I could have those being evaluated in a
smart way for the side bar .... ?
I would like to avoid calling a method populate_side_bar () on each
call ... ?
Is there a way to provide those ... ?
\T,
--
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.