Traceback (most recent call last):


 "manage.py", line 10, in <module>

execute_from_command_line(sys.argv)


 "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line

utility.execute()


 "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 347, in execute

django.setup()


 "/usr/local/lib/python3.6/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/usr/local/lib/python3.6/site-packages/django/apps/registry.py", line 120, in populate

app_config.ready()


 "/usr/local/lib/python3.6/site-packages/django/contrib/admin/apps.py", line 23, in ready

self.module.autodiscover()


 "/usr/local/lib/python3.6/site-packages/django/contrib/admin/__init__.py", line 26, in autodiscover

autodiscover_modules('admin', register_to=site)


 "/usr/local/lib/python3.6/site-packages/django/utils/module_loading.py", line 47, in autodiscover_modules

import_module('%s.%s' % (app_config.name, module_to_search))


 "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/app/django_th/admin.py", line 5, in <module>

from django_th.forms.services import ServicesAdminForm


 "/app/django_th/forms/services.py", line 25, in <module>

class ServicesAdminForm(forms.ModelForm):


 "/app/django_th/forms/services.py", line 42, in ServicesAdminForm

name = forms.ChoiceField(choices=available_services())


 "/app/django_th/forms/services.py", line 17, in available_services

for class_path in settings.TH_SERVICES:


 "/usr/local/lib/python3.6/site-packages/django/conf/__init__.py", line 57, in __getattr__

val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'TH_SERVICES'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/neuroner/neuromodel.py", line 824, in __del__

self.sess.close()
AttributeError: 'NeuroNER' object has no attribute 'sess'