Commits

Author Commit Message Labels Comments Date
Benoît Bryon
Fixed bug in documentation sample code, in categories() menu processor
Benoît Bryon
Initialized Sphinx documentation
Benoît Bryon
Renamed internal setting from MENUS_DEFAULT_TAG_TEMPLATE_NAME to MENUS_DEFAULT_NAME
Benoît Bryon
Improved max_depth parameter usage. Updated README. Added depthN CSS classes.
Benoît Bryon
Introduced max_depth parameter in template tags
Benoît Bryon
Added MENUS_TEMPLATE_VARIABLE setting
Benoît Bryon
Added short documentation about creating specific MenuItem extensions.
Benoît Bryon
Added 'active' and 'opened' CSS classes to menu items in templates. Improved inline doc of MenuItem base implementation. Simplified template tag library. Backward imcompatible changes.
Benoît Bryon
Added .hgignore
Benoît Bryon
Splitted render_menu template tag in render_menu_items and render_menu_item, with corresponding templates. Backward incompatible changes.
Benoît Bryon
Big refactoring. Introduces backward incompatibilities. Updated README, added LICENSE, enhanced documentation, simplified menu processor implementation, renamed template tags.
Benoit Bryon
Added __repr__() to MenuItem class.
Benoit Bryon
Changed Menu.has_url() and Menu.get_item_for_url() so that they can detect URLs that start with a prefix.
Benoit Bryon
Added menu_has_url template tag.
Benoit Bryon
Added tag single level menus for changeset 258cfce45fe3
Benoit Bryon
Merged Menu and MenuItem classes to enable creation of menu items trees: a MenuItem is now a Menu since it have its own (sub)items. Added a template tag to get a menu item by its URL.
Benoit Bryon
Minor changes to improve Django 1.0 compatibility. Introduced utils.Menu.title.
Tags
single level menus
Benoit Bryon
Removed empty file: views.py.
Benoit Bryon
Added MenuItem.code: enables dynamic assignment of a suitable code to generate HTML id, classes...
Benoit Bryon
Improved README. Removed queryset_to_menu_items() and model_instance_to_menu_item() utilities: they did not bring enough simplicity and were not flexible. A more simple alternative has been documented in README.
Benoit Bryon
Changed utils.queryset_to_menu_items() utility: it now requires a parameter that specify a callback to convert model instances into utils.MenuItem objects.
Benoit Bryon
Moved MenuItem model in another application. This application focuses on generic tools for menu management.
Benoit Bryon
Split the utility that convert a queryset into menus items in two parts: one to convert, another to update a dictionnary of menus.
Benoit Bryon
Done various improvements. Code review.
Benoit Bryon
Fixed HTML validation in templates.
Benoit Bryon
Improved context processor. Introduced settings.MENUS_PROCESSORS list. Now supports dynamic loading of menu items (menu processors can be defined outside this application).
Benoit Bryon
Removed multilingual dependency. Menu item translations are not supported.
Benoit Bryon
Added basic README. Deleted site specific settings (local.py). Turned MenuItem.CHOICES into a global MENUS_CHOICES setting. Added a context processor to populate menus from database. Added a template tag to render menus.
Benoit Bryon
Added models and local configuration. This application is "website specific", local configuration and processing are not separated yet.
Benoît Bryon
Application initialization.