Crash sur la page de gestion de ses propres reventes
Sur master (b99fd03d) à l'url /bda/revente/1/manage on obtient l'erreur
Internal Server Error: /bda/revente/1/manage
Traceback (most recent call last):
File "/home/martin/git/klub-dev/gestioCOF/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/martin/git/klub-dev/gestioCOF/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/martin/git/klub-dev/gestioCOF/venv/lib/python3.7/site-packages/channels/handler.py", line 243, in process_exception_by_middleware
return super(AsgiHandler, self).process_exception_by_middleware(exception, request)
File "/home/martin/git/klub-dev/gestioCOF/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 "/home/martin/git/klub-dev/gestioCOF/venv/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/martin/git/klub-dev/gestioCOF/gestioncof/decorators.py", line 29, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/martin/git/klub-dev/gestioCOF/bda/views.py", line 384, in revente_manage
participant, created = Participant.annotate_paid().get_or_create(
AttributeError: type object 'Participant' has no attribute 'annotate_paid'