~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: franku
  • Date: 2018-10-03 20:34:49 UTC
  • mfrom: (497.3.4 cookies)
  • Revision ID: somal@arcor.de-20181003203449-z7rnyrt4qsqaebvq
Use a session based csrf cookie; Fixed showing deleted username when quoting a post

Show diffs side-by-side

added added

removed removed

Lines of Context:
330
330
DELETED_MAIL_ADDRESS = ''
331
331
DELETED_USERNAME = 'Ex-Member'
332
332
 
 
333
###################
 
334
# Cookie settings #
 
335
###################
 
336
 
 
337
# See: https://docs.djangoproject.com/en/dev/ref/settings/#csrf-cookie-age
 
338
CSRF_COOKIE_AGE = None
 
339
 
333
340
try:
334
341
    from local_settings import *
335
342
except ImportError: