S
S
stayHARD2015-09-25 11:44:32
Django
stayHARD, 2015-09-25 11:44:32

Why is the django-bbm template not loading?

Hello.
Template not loading after installing django-bbm.
I go to the page - I see only my base.html. What did he do wrong?
settings.py:

INSTALLED_APPS = (
    ....
    'pybb',
)
MIDDLEWARE_CLASSES = (
    ....
    'pybb.middleware.PybbMiddleware',
)
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates')],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
            ....
            'pybb.context_processors.processor',
            'django.core.context_processors.static',
            'django.core.context_processors.i18n',
            ],
        },
    },
]

URLs.py:
url(r'^forum/', include('pybb.urls', namespace='pybb')),

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question