# __BEGIN_LICENSE__
# Copyright (c) 2015, United States Government, as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All rights reserved.
#
# The xGDS platform is licensed under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.
# __END_LICENSE__

"""
This app may define some new parameters that can be modified in the
Django settings module.  Let's say one such parameter is FOO.  The
default value for FOO is defined in this file, like this:

  FOO = 'my default value'

If the admin for the site doesn't like the default value, they can
override it in the site-level settings module, like this:

  FOO = 'a better value'

Other modules can access the value of FOO like this:

  from django.conf import settings
  print settings.FOO

Don't try to get the value of FOO from django.conf.settings.  That
settings object will not know about the default value!
"""

XGDS_CORE_BOWER_INSTALLED_APPS = ('moment-range',)

@@ -1374,19 +1374,127 @@
 %22%22%22%0A
-%0AXGDS_CORE_
+from geocamUtil.SettingsUtil import getOrCreateArray%0A%0A%0ABOWER_INSTALLED_APPS = getOrCreateArray('BOWER_INSTALLED_APPS')%0A
 BOWE
@@ -1514,11 +1514,12 @@
 PPS 
++
 = 
-(
+%5B
 'mom
@@ -1532,7 +1532,6 @@
 nge'
-,)
+%5D
 %0A

use getOrCreate for settings objects