| 'sphene.sphwiki', | | 'sphene.sphwiki', |
| ) | | ) |
| | | |
| # Adding MIDDLEWARE_CLASSES and TEMPLATE_CONTEXT_P | | # Adding MIDDLEWARE_CLASSES and TEMPLATE_CONTEXT_P |
| ROCESSORS | | ROCESSORS |
| | | |
n | SCT (currently) needs at least two middleware clas | n | SCT (currently) needs at least two middleware clas |
| ses and one template context processor .. All in a | | ses and two template context processor .. All in a |
| ll the two settings should look like the following | | ll the two settings should look like the following |
| in your settings.py: | | in your settings.py: |
| | | |
| MIDDLEWARE_CLASSES = ( | | MIDDLEWARE_CLASSES = ( |
| 'sphene.community.middleware.ThreadLocals' | | 'sphene.community.middleware.ThreadLocals' |
| , | | , |
| 'sphene.community.middleware.GroupMiddlewa | | 'sphene.community.middleware.GroupMiddlewa |
| re', | | re', |
| | | |
| TEMPLATE_CONTEXT_PROCESSORS = ( | | TEMPLATE_CONTEXT_PROCESSORS = ( |
| 'django.core.context_processors.auth', | | 'django.core.context_processors.auth', |
| 'django.core.context_processors.debug', | | 'django.core.context_processors.debug', |
| 'django.core.context_processors.i18n', | | 'django.core.context_processors.i18n', |
| 'django.core.context_processors.request', | | 'django.core.context_processors.request', |
t | | t | 'django.core.context_processors.media',
|
| 'sphene.community.context_processors.navig | | 'sphene.community.context_processors.navig |
| ation', | | ation', |
| ) | | ) |
| | | |
| # Adding Template Directories | | # Adding Template Directories |
| | | |