Skip to content

Admin interface fails when trying to create a new session #268

@jandd

Description

@jandd

Describe the bug
When https://www.devday.de/admin/talk/talk/add/ -> 500 Internal Server Error

To Reproduce
Steps to reproduce the behavior:

  1. As admin go to 'https://www.devday.de/admin/talk/talk/'
  2. Click on https://www.devday.de/admin/talk/talk/add/
  3. See error

Expected behavior
The form to create a new session is shown

Additional context

AttributeError at /admin/talk/talk/add/
'NoneType' object has no attribute 'event'
Request Method:	GET
Request URL:	https://www.devday.de/admin/talk/talk/add/
Django Version:	2.2.11
Exception Type:	AttributeError
Exception Value:	'NoneType' object has no attribute 'event'
Exception Location:	/app/talk/admin.py in formfield_for_foreignkey, line 94
Python Executable:	/usr/sbin/uwsgi
Python Version:	3.8.2
Python Path:	['/app/',
 '.',
 '',
 '/usr/lib/python38.zip',
 '/usr/lib/python3.8',
 '/usr/lib/python3.8/lib-dynload',
 '/usr/lib/python3.8/site-packages',
 '/python-code/src/djangocms-column']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions