Ticket #1998: single-quotes.diff
File single-quotes.diff, 1.8 KB (added by , 18 years ago) |
---|
-
django/conf/global_settings.py
219 219 # this middleware classes will be applied in the order given, and in the 220 220 # response phase the middleware will be applied in reverse order. 221 221 MIDDLEWARE_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', 228 228 ) 229 229 230 230 ############ -
django/conf/project_template/settings.py
51 51 ) 52 52 53 53 MIDDLEWARE_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', 58 58 ) 59 59 60 60 ROOT_URLCONF = '{{ project_name }}.urls'