Skip to content

Commit

Permalink
Merge branch 'PATCHES_OCT17_001' of https://github.com/GeoNode/geonode
Browse files Browse the repository at this point in the history
… into monitoring
  • Loading branch information
Alessio Fabiani committed Oct 11, 2017
1 parent a58a395 commit 9b391fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions geonode/local_settings.py.geoserver.sample
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ LAYER_PREVIEW_LIBRARY = 'geoext'
# 'RESET_VIEW': False
#}

'corsheaders',
ALT_OSM_BASEMAPS = os.environ.get('ALT_OSM_BASEMAPS', False)
CARTODB_BASEMAPS = os.environ.get('CARTODB_BASEMAPS', False)
STAMEN_BASEMAPS = os.environ.get('STAMEN_BASEMAPS', False)
Expand Down Expand Up @@ -382,10 +381,6 @@ LOGGING = {
},
}

MIDDLEWARE_CLASSES += (
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
)
CORS_ORIGIN_ALLOW_ALL = True

GEOIP_PATH = "/usr/local/share/GeoIP"
Expand Down
3 changes: 2 additions & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@
'polymorphic',
'guardian',
'oauth2_provider',
'corsheaders',
) + GEONODE_APPS

MONITORING_ENABLED = False
Expand Down Expand Up @@ -458,6 +459,7 @@
]

MIDDLEWARE_CLASSES = (
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
Expand All @@ -484,7 +486,6 @@
'oauth2_provider.middleware.OAuth2TokenMiddleware',
)


# Replacement of default authentication backend in order to support
# permissions per object.
AUTHENTICATION_BACKENDS = (
Expand Down

0 comments on commit 9b391fb

Please sign in to comment.