Denis K. 9 лет назад
Родитель
Сommit
3f0be1b748
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      README.rst

+ 10 - 0
README.rst

@@ -64,6 +64,16 @@ Installation
             'jet',
             'django.contrib.admin',
         )
+        
+* Make sure 'django.core.context_processors.request' context processor is enabled in settings.py:
+
+    .. code:: python
+            
+        from django.conf import global_settings
+        
+        TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
+            'django.core.context_processors.request',
+        )
 
 * Add URL-pattern to the urlpatterns of your Django project urls.py file (they are needed for related–lookups and autocompletes):