Merge remote-tracking branch 'origin/master'

This commit is contained in:
bob 2018-12-27 18:12:13 +08:00
commit dd73157776
2 changed files with 3 additions and 1 deletions

View File

@ -173,6 +173,8 @@ CORS_ALLOW_HEADERS = (
'Pragma',
)
LOGIN_REDIRECT_URL='/'
try:
from .local_settings import *
except ImportError as e:

2
gs.py
View File

@ -120,7 +120,7 @@ if __name__ == '__main__':
gs = GeoServer('http://210.77.68.250:8080/geoserver', 'admin', 'geoserver', 'baoji')
for y in range(1979, 2016):
for y in range(1979, 2018):
for m in range(1, 13):
file_name = "%s-%s-temp.tif" % (y, m)
print(file_name)