Skip to content

Commit

Permalink
this line is still causing trouble
Browse files Browse the repository at this point in the history
  • Loading branch information
maximz committed Mar 31, 2016
1 parent d3335d6 commit a1d8975
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions course_selection/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
from whitenoise.django import DjangoWhiteNoise


"""
# https://devcenter.heroku.com/articles/memcachier#django
# Fix django closing connection to MemCachier after every request (#11331)
from django.core.cache.backends.memcached import BaseMemcachedCache
BaseMemcachedCache.close = lambda self, **kwargs: None
"""

application = DjangoWhiteNoise(get_wsgi_application())

0 comments on commit a1d8975

Please sign in to comment.