| OLD | NEW |
| 1 # Copyright 2008 Google Inc. | 1 # Copyright 2008 Google Inc. |
| 2 # | 2 # |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
| 5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
| 6 # | 6 # |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 # | 8 # |
| 9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
| (...skipping 58 matching lines...) Show 10 above Show 10 below |
| 69 # List of callables that know how to import templates from various sources. | 69 # List of callables that know how to import templates from various sources. |
| 70 TEMPLATE_LOADERS = ( | 70 TEMPLATE_LOADERS = ( |
| 71 'django.template.loaders.filesystem.load_template_source', | 71 'django.template.loaders.filesystem.load_template_source', |
| 72 'django.template.loaders.app_directories.load_template_source', | 72 'django.template.loaders.app_directories.load_template_source', |
| 73 # 'django.template.loaders.eggs.load_template_source', | 73 # 'django.template.loaders.eggs.load_template_source', |
| 74 ) | 74 ) |
| 75 | 75 |
| 76 MIDDLEWARE_CLASSES = ( | 76 MIDDLEWARE_CLASSES = ( |
| 77 'django.middleware.common.CommonMiddleware', | 77 'django.middleware.common.CommonMiddleware', |
| 78 # 'django.contrib.sessions.middleware.SessionMiddleware', | 78 # 'django.contrib.sessions.middleware.SessionMiddleware', |
| 79 # 'django.contrib.auth.middleware.AuthenticationMiddleware', | 79 'django.contrib.auth.middleware.AuthenticationMiddleware', |
| 80 # 'django.middleware.doc.XViewMiddleware', | 80 # 'django.middleware.doc.XViewMiddleware', |
| 81 ) | 81 ) |
| 82 | 82 |
| 83 TEMPLATE_CONTEXT_PROCESSORS = ( | 83 TEMPLATE_CONTEXT_PROCESSORS = ( |
| 84 # 'django.core.context_processors.auth', | 84 'django.core.context_processors.auth', |
| 85 'django.core.context_processors.debug', | 85 'django.core.context_processors.debug', |
| 86 'django.core.context_processors.i18n', | 86 'django.core.context_processors.i18n', |
| 87 # 'django.core.context_processors.media', # 0.97 only. | 87 # 'django.core.context_processors.media', # 0.97 only. |
| 88 # 'django.core.context_processors.request', | 88 # 'django.core.context_processors.request', |
| 89 ) | 89 ) |
| 90 | 90 |
| 91 ROOT_URLCONF = 'urls' | 91 ROOT_URLCONF = 'urls' |
| 92 | 92 |
| 93 ROOT_PATH = os.path.dirname(__file__) | 93 ROOT_PATH = os.path.dirname(__file__) |
| 94 TEMPLATE_DIRS = ( | 94 TEMPLATE_DIRS = ( |
| 95 os.path.join(ROOT_PATH, 'templates') | 95 os.path.join(ROOT_PATH, 'templates') |
| 96 ) | 96 ) |
| 97 | 97 |
| 98 INSTALLED_APPS = ( | 98 INSTALLED_APPS = ( |
| 99 'appengine_django', | 99 'appengine_django', |
| 100 # 'django.contrib.auth', | 100 'django.contrib.auth', |
| 101 # 'django.contrib.contenttypes', | 101 # 'django.contrib.contenttypes', |
| 102 # 'django.contrib.sessions', | 102 # 'django.contrib.sessions', |
| 103 # 'django.contrib.sites', | 103 # 'django.contrib.sites', |
| 104 ) | 104 ) |
| OLD | NEW |