Private
Public Access
1
0

Merge branch 'release/v4.05'

This commit is contained in:
Sander Roosendaal
2017-09-25 22:17:59 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -700,6 +700,8 @@ def leaflet_chart(lat,lon,name=""):
df = df.replace(0,np.nan)
df = df.loc[(df!=0).any(axis=1)]
df.fillna(method='bfill',axis=0,inplace=True)
df.fillna(method='ffill',axis=0,inplace=True)
lat = df['lat']
lon = df['lon']
if lat.empty or lon.empty:

View File

@@ -176,13 +176,13 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
TIME_ZONE = 'UTC'
TZ_DETECT_COUNTRIES = ('US','DE','GB','CZ','FR','IT')