Hi Everyone,
Another newbie question to the group.
For the tiny Django application I created for past few weeks, we decided to implement a menu with tree structure. I found django-treemenus application started to implement it (I am still open to other suggestions). I could not quite get everything correct. I have completed following steps and dont know where to go from there...
1) Installed the code
2) added 'treemenus' to installed apps & syncdb created needed tables
3) url(r'^admin/treemenus/', include('treemenus.admin_urls')), added to URLs file (before admin)
4) using admin, added a menu with several links
5) Created 'treemenus/menu.html' and 'treemenus/menu_items.html' files as advised in manual (also attached here).
6) Added '{% load tree_menu_tags %}' into one of my own template.....
And Not sure, what I do now? Not sure, where and how I use 'menu' and 'menu_item' in context? I would really appreciate any pointers or suggestions. Reading manual is not helpful mostly because, i lack deep understanding about the Django system.
I named the menu i created (using admin) as 'ngsdbviewmenu'. Ideally i would like to display it in my base_site.html so it is displayed everywhere....
Thanks a bunch in advance,
Gowthaman
--
Gowthaman
Bioinformatics Research Scientist.
SBRI, 307 West lake Ave N Suite 500
Seattle, WA. 98109-5219
Phone : LAB
206-256-7188 (direct).