1. shavrin_ivan
  2. django-menus

Commits

Matthew Schinckel  committed 945ae1a

Remove debugging code.

  • Participants
  • Parent commits 7579d32
  • Branches default

Comments (0)

Files changed (2)

File menus/templates/menu/item.html

View file
-<a href="{{ url }}" id="{{ element_id }}" class="{{ classes }}">{{ text }}</a>
-<span style="display:none;">{{ page_url }}</span>
+<a href="{{ url }}" id="{{ element_id }}" class="{{ classes }}">{{ text }}</a>

File menus/templatetags/menu_item.py

View file
         
         new_context = template.context.Context({
             'url': self.url,
-            'page_url': page_url,
             'text': self.text,
             'classes': " ".join(self.classes)
         })