diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-08-08 17:17:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-29 13:56:49 +0100 |
commit | 54530006b745d364d60dcf4ce372a1459d3fff78 (patch) | |
tree | 72d40fa827dd19dbad4d77f63266cd3ac6ba6c04 /bitbake/lib/toaster/toastermain/settings.py | |
parent | 234226b9055a3b23addcdaa7a77812dc7aa79134 (diff) | |
download | poky-54530006b745d364d60dcf4ce372a1459d3fff78.tar.gz |
bitbake: toaster: enable admin interface on select models
We enable the admin interface in Toaster.
We add admin models for Build Environments (where the
sysadmin can configure where the builds take place)
and for Layer Sources (marking the upstream provider
for layer information).
The admin interface and associated data are enabled
only for the MANAGED version.
(Bitbake rev: 6618613c9210fb44d36d90f5f2404b435f10dfc8)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain/settings.py')
-rw-r--r-- | bitbake/lib/toaster/toastermain/settings.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py index 1dab25aa6b..42581f2df4 100644 --- a/bitbake/lib/toaster/toastermain/settings.py +++ b/bitbake/lib/toaster/toastermain/settings.py | |||
@@ -232,17 +232,13 @@ TEMPLATE_CONTEXT_PROCESSORS = ('django.contrib.auth.context_processors.auth', | |||
232 | 232 | ||
233 | INSTALLED_APPS = ( | 233 | INSTALLED_APPS = ( |
234 | #'django.contrib.sites', | 234 | #'django.contrib.sites', |
235 | #'django.contrib.messages', | ||
236 | 'django.contrib.staticfiles', | 235 | 'django.contrib.staticfiles', |
237 | # Uncomment the next line to enable the admin: | ||
238 | # 'django.contrib.admin', | ||
239 | # Uncomment the next line to enable admin documentation: | 236 | # Uncomment the next line to enable admin documentation: |
240 | # 'django.contrib.admindocs', | 237 | # 'django.contrib.admindocs', |
241 | 'django.contrib.humanize', | 238 | 'django.contrib.humanize', |
242 | 'orm', | 239 | 'orm', |
243 | 'toastermain', | 240 | 'toastermain', |
244 | 'south', | 241 | 'south', |
245 | 'bldcontrol', | ||
246 | ) | 242 | ) |
247 | 243 | ||
248 | SOUTH_TESTS_MIGRATE = False | 244 | SOUTH_TESTS_MIGRATE = False |
@@ -251,7 +247,11 @@ SOUTH_TESTS_MIGRATE = False | |||
251 | if MANAGED: | 247 | if MANAGED: |
252 | INSTALLED_APPS = ('django.contrib.auth', | 248 | INSTALLED_APPS = ('django.contrib.auth', |
253 | 'django.contrib.contenttypes', | 249 | 'django.contrib.contenttypes', |
254 | 'django.contrib.sessions',) + INSTALLED_APPS | 250 | 'django.contrib.messages', |
251 | 'django.contrib.sessions', | ||
252 | # Uncomment the next line to enable the admin: | ||
253 | 'django.contrib.admin', | ||
254 | ) + INSTALLED_APPS | ||
255 | 255 | ||
256 | 256 | ||
257 | # We automatically detect and install applications here if | 257 | # We automatically detect and install applications here if |