IndexError at /
anoited007 opened this issue · 0 comments
anoited007 commented
I keep getting IndexError when I run the server. Am I missing something?
Below is my settings.py
from wazimap.settings import * # noqa
# install this app before Wazimap
INSTALLED_APPS = ['wazimap_ex'] + INSTALLED_APPS
# Localise this instance of Wazimap
WAZIMAP['name'] = 'Country Dashboard'
# NB: this must be https if your site supports HTTPS.
WAZIMAP['url'] = 'http://wazimap.example.com'
WAZIMAP['country_code'] = 'AF'
WAZIMAP['versions'] = ['2018-03', '2019-03']
WAZIMAP['comparative_levels'] = ['country']
WAZIMAP['geometry_data'] = {
'2018-03': {
'continent': 'geo/continent.topojson',
'country': 'geo/country.topojson'
}
}
WAZIMAP['default_geo_version'] = None
WAZIMAP['profile_builder'] = 'wazimap_ww.profiles.get_profile'
WAZIMAP['geodata']: 'wazimap.geo.GeoData'
WAZIMAP['map_centre']: None
WAZIMAP['map_zoom']: None
STRIP_WWW = True
USE_THOUSAND_SEPARATOR = True
if DEBUG:
CSRF_COOKIE_SECURE = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'wazimap',
'USER': 'db_user',
'PASSWORD': 'db_password',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
```
I have added a screenshot below:
![image](https://user-images.githubusercontent.com/27229090/78070521-76436c80-738b-11ea-8638-6b42f021d966.png)