Environment:
Request Method: GET
Request URL: http://192.168.178.77:8000/
Django Version: 3.0.2
Python Version: 3.7.6
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_global_request',
'settings_context_processor',
'sass_processor',
'easyaudit',
'constance',
'constance.backends.database',
'django_any_js',
'django_yarnpkg',
'django_tables2',
'easy_thumbnails',
'image_cropping',
'maintenance_mode',
'menu_generator',
'phonenumber_field',
'debug_toolbar',
'django_select2',
'hattori',
'django_otp.plugins.otp_totp',
'django_otp.plugins.otp_static',
'django_otp',
'otp_yubikey',
'aleksis.core',
'impersonate',
'two_factor',
'material',
'pwa',
'aleksis.apps.alsijil',
'isbn_field',
'aleksis.apps.exlibris',
'aleksis.apps.hjelp',
'aleksis.apps.schild_nrw',
'aleksis.apps.chronos']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django_global_request.middleware.GlobalRequestMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django_otp.middleware.OTPMiddleware',
'impersonate.middleware.ImpersonateMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'easyaudit.middleware.easyaudit.EasyAuditMiddleware',
'maintenance_mode.middleware.MaintenanceModeMiddleware']
Traceback (most recent call last):
File "/home/dolphi/Projects/AlekSIS/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/dolphi/Projects/AlekSIS/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/dolphi/Projects/AlekSIS/venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/home/dolphi/Projects/AlekSIS/venv/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/dolphi/Projects/AlekSIS/AlekSIS/aleksis/core/views.py", line 29, in index
activities = request.user.person.activities.all()[:5]
File "/home/dolphi/Projects/AlekSIS/venv/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 423, in __get__
self.related.get_accessor_name()
Exception Type: RelatedObjectDoesNotExist at /
Exception Value: User has no person.