Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

django-menu key error #10

@sergeyvladimirovichmelnichenko

Description

whether the django-menu version of Django 1.5?

TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
  'django.core.context_processors.debug',
  'django.core.context_processors.i18n',
  'django.core.context_processors.media',
  'django.core.context_processors.static',
  'django.core.context_processors.tz',
  'django.contrib.messages.context_processors.messages',
  'django.core.context_processors.request')

{% Block content%}

         {% Load menubuilder%}

         {% Menu main_menu%}

         {% For item in menuitems%}
             {{Item.title}}
         {% Endfor%}
         </ ul>
    {% Endblock%}

    Error:
     
    KeyError at / blog /
    'request'
    Request Method:
    GET
    Request URL:
    http://127.0.0.1:8080/blog/
    Django Version:
    1.5.1
    Exception Type:
    KeyError
    Exception Value:
    'request'
    Exception Location:
    C: \ Python27 \ lib \ site-packages \ django \ template \ context.py in __ getitem__, line 57
    Python Executable:
    C: \ Python27 \ python.exe
    Python Version:
    2.7.3

    whi? Please HELP ME

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions