diff options
Diffstat (limited to 'bitbake/lib/toaster/toastermain')
| -rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index 80f26e0ce6..225138b32d 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
| @@ -258,8 +258,13 @@ TEMPLATE_CONTEXT_PROCESSORS = ('django.contrib.auth.context_processors.auth', | |||
| 258 | ) | 258 | ) |
| 259 | 259 | ||
| 260 | INSTALLED_APPS = ( | 260 | INSTALLED_APPS = ( |
| 261 | #'django.contrib.sites', | 261 | 'django.contrib.auth', |
| 262 | 'django.contrib.contenttypes', | ||
| 263 | 'django.contrib.messages', | ||
| 264 | 'django.contrib.sessions', | ||
| 265 | 'django.contrib.admin', | ||
| 262 | 'django.contrib.staticfiles', | 266 | 'django.contrib.staticfiles', |
| 267 | |||
| 263 | # Uncomment the next line to enable admin documentation: | 268 | # Uncomment the next line to enable admin documentation: |
| 264 | # 'django.contrib.admindocs', | 269 | # 'django.contrib.admindocs', |
| 265 | 'django.contrib.humanize', | 270 | 'django.contrib.humanize', |
| @@ -307,16 +312,6 @@ if os.environ.get('TOASTER_DEVEL', None) is not None: | |||
| 307 | 312 | ||
| 308 | SOUTH_TESTS_MIGRATE = False | 313 | SOUTH_TESTS_MIGRATE = False |
| 309 | 314 | ||
| 310 | # if we run in managed mode, we need user support | ||
| 311 | if MANAGED: | ||
| 312 | INSTALLED_APPS = ('django.contrib.auth', | ||
| 313 | 'django.contrib.contenttypes', | ||
| 314 | 'django.contrib.messages', | ||
| 315 | 'django.contrib.sessions', | ||
| 316 | # Uncomment the next line to enable the admin: | ||
| 317 | 'django.contrib.admin', | ||
| 318 | ) + INSTALLED_APPS | ||
| 319 | |||
| 320 | 315 | ||
| 321 | # We automatically detect and install applications here if | 316 | # We automatically detect and install applications here if |
| 322 | # they have a 'models.py' or 'views.py' file | 317 | # they have a 'models.py' or 'views.py' file |
