Internal Server Error: /org/persons/supraadmin
NameError at /org/persons/supraadmin
name 'get_template' is not defined
Request Method: GET
Request URL: https://ticdesk.teckids.org/org/persons/supraadmin?format=geojson
Django Version: 1.11.5
Python Executable: /usr/bin/python3
Python Version: 3.5.3
Python Path: ['/srv/www/ticdesk/venv/lib/python35.zip',
'/srv/www/ticdesk/venv/lib/python3.5',
'/srv/www/ticdesk/venv/lib/python3.5/plat-x86_64-linux-gnu',
'/srv/www/ticdesk/venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/srv/www/ticdesk/venv/lib/python3.5/site-packages']
Server time: Mi, 20 Dez 2017 21:17:33 +0100
Installed Applications:
['bootstrap3',
'ticdesk_account.apps.TicdeskAccountConfig',
'ticdesk_org.apps.TicdeskOrgConfig',
'ticdesk_events.apps.TicdeskEventsConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_tables2',
'django_cron',
'leaflet']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/exception.py"
in inner
41. response = get_response(request)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in
_get_response
187. response = self.process_exception_by_middleware(e, request)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in
_get_response
185. response = wrapped_callback(request, *callback_args,
**callback_kwargs)
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ticdesk_org/views.py" in persons
78. template = get_template('ticdesk_org/map_popup_content.html')
Exception Type: NameError at /org/persons/supraadmin
Exception Value: name 'get_template' is not defined
Request information:
USER: tteichler