Ticket #1998: single-quotes.diff

File single-quotes.diff, 1.8 KB (added by nirvdrum, 18 years ago)
  • django/conf/global_settings.py

     
    219219# this middleware classes will be applied in the order given, and in the
    220220# response phase the middleware will be applied in reverse order.
    221221MIDDLEWARE_CLASSES = (
    222     "django.contrib.sessions.middleware.SessionMiddleware",
    223     "django.contrib.auth.middleware.AuthenticationMiddleware",
    224 #     "django.middleware.http.ConditionalGetMiddleware",
    225 #     "django.middleware.gzip.GZipMiddleware",
    226     "django.middleware.common.CommonMiddleware",
    227     "django.middleware.doc.XViewMiddleware",
     222    'django.contrib.sessions.middleware.SessionMiddleware',
     223    'django.contrib.auth.middleware.AuthenticationMiddleware',
     224#     'django.middleware.http.ConditionalGetMiddleware',
     225#     'django.middleware.gzip.GZipMiddleware',
     226    'django.middleware.common.CommonMiddleware',
     227    'django.middleware.doc.XViewMiddleware',
    228228)
    229229
    230230############
  • django/conf/project_template/settings.py

     
    5151)
    5252
    5353MIDDLEWARE_CLASSES = (
    54     "django.middleware.common.CommonMiddleware",
    55     "django.contrib.sessions.middleware.SessionMiddleware",
    56     "django.contrib.auth.middleware.AuthenticationMiddleware",
    57     "django.middleware.doc.XViewMiddleware",
     54    'django.middleware.common.CommonMiddleware',
     55    'django.contrib.sessions.middleware.SessionMiddleware',
     56    'django.contrib.auth.middleware.AuthenticationMiddleware',
     57    'django.middleware.doc.XViewMiddleware',
    5858)
    5959
    6060ROOT_URLCONF = '{{ project_name }}.urls'
Back to Top