I would like to get breadcrumbs working in a simple way. Could anyone
please help?
I think I need a singleton with a dict like this ...
bread = singleton()
bread.dct['last_title'] =
Within each view and before doing anything else I want to ...
def someview(request):
title = 'whatever'
crumb = bread.dct['last_title']
bread.dct['last_title'] = title
# put title and crumb into the view context for extraction
# in the template as {{title}} and {{crumb}}
Is there a better way?
Thanks
Mike
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---