No description, website, or topics provided.
Python HTML
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
locale
migrations
static/menu/img
templates
templatetags
.gitignore
__init__.py
admin.py
apps.py
models.py
readme.md
translation.py
urls.py
views.py

readme.md

django-menu

Tree menu for Django

Required

  • pip install django-helpful
  • django-seo
  • 'django.core.context_processors.request',

Install

  • Add to INSTALLED_APPS 'apps.menu',
  • Add to urls.py url(r'^admin_tree_menu/', include('apps.menu.urls')),
  • manage.py migrate tree_menu
  • manage.py collectstatic

Use in template

{% load menu_tags %}
{% menu 'group', [parent=None], [tpl_file='menu/default.html'] %}

TODO

☐ locale/ ✔ static/ ☐ templates/ ☐ admin ☐ tree_menu ☐ item ☐ change_form.html ☐ menu ☐ admin_tree.html ☐ admin_url_patterns.html ☐ default.html ☐ update.html ☐ templatetags/ ☐ init.py ☐ menu_tags.py ☐ init.py ☐ admin.py ✔ apps.py ☐ models.py ✔ readme.md ☐ translation.py ☐ urls.py ☐ views.py