Events: "Opslaan en opnieuw bewerken" gaat stuk
Dit is al de tweede keer dat ik een event volledig invul en alles kwijt ben, omdat ik mijn werk op wil slaan. [frustration intensifies] Hoewel er bij staat dat jullie er nu van op de hoogte zijn, zou ik dit graag ook in een issue hebben, zodat ik weet wanneer het is opgelost.
Alvast bedankt!
Traceback:
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/options.py" in wrapper
544. return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/sites.py" in inner
211. return view(request, *args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/options.py" in add_view
1509. return self.changeform_view(request, None, form_url, extra_context)
File "/usr/local/lib/python3.5/site-packages/django/utils/decorators.py" in _wrapper
67. return bound_func(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/utils/decorators.py" in bound_func
63. return func.__get__(self, type(self))(*args2, **kwargs2)
File "/usr/local/lib/python3.5/contextlib.py" in inner
30. return func(*args, **kwds)
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/options.py" in changeform_view
1441. if form.is_valid():
File "/usr/local/lib/python3.5/site-packages/django/forms/forms.py" in is_valid
169. return self.is_bound and not self.errors
File "/usr/local/lib/python3.5/site-packages/django/forms/forms.py" in errors
161. self.full_clean()
File "/usr/local/lib/python3.5/site-packages/django/forms/forms.py" in full_clean
370. self._clean_fields()
File "/usr/local/lib/python3.5/site-packages/django/forms/forms.py" in _clean_fields
388. value = field.clean(value)
File "/usr/local/lib/python3.5/site-packages/django/forms/fields.py" in clean
158. value = self.to_python(value)
File "/usr/local/lib/python3.5/site-packages/django/forms/models.py" in to_python
1220. value = self.queryset.get(**{key: value})
File "/usr/local/lib/python3.5/site-packages/django/db/models/query.py" in get
389. (self.model._meta.object_name, num)
Exception Type: MultipleObjectsReturned at /admin/events/event/add/
Exception Value: get() returned more than one Committee -- it returned 2!
Request information:
USER: fgerlings