Skip to content

Commit

Permalink
Merge pull request #258 from charleswhchan/clarify-django.core.contex…
Browse files Browse the repository at this point in the history
…t_processors

Clarify django.core.context_processors has been deprecated after django 1.8
  • Loading branch information
jrief committed Apr 8, 2018
2 parents a830aa7 + 0c2aa45 commit 7227181
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ Ensure that your template context contains at least these processors:
TEMPLATE_CONTEXT_PROCESSORS = (
...
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.static',
# Django <=1.8:
'django.core.context_processors.static',
# Django >= 1.9:
# 'django.template.context_processors.static',
'ws4redis.context_processors.default',
...
)
Expand Down

0 comments on commit 7227181

Please sign in to comment.