susheels / django-crumbs

Automatically exported from code.google.com/p/django-crumbs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django.core.context_processors.request is required

GoogleCodeExporter opened this issue · comments

django.core.context_processors.request is required but the 
documentation doesn't mention this dependency.

Original issue reported on code.google.com by stephane...@gmail.com on 12 Nov 2009 at 2:00

Thanks for the tips. Without this it's juste doesn't work: nothing appears.
Just on time, I was going to not use this app ...

According to 
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_CONTEXT
_PROCESSORS, I put in my settings.py:
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.contrib.messages.context_processors.messages",
    'django.core.context_processors.request',
)

Should be great to put this in the documentation !

Original comment by stephane...@gmail.com on 16 Jun 2011 at 11:41