Crash sur la page de gestion de ses propres reventes #228

Closed
opened 2019-10-06 10:29:44 +02:00 by mpepin · 4 comments
mpepin commented 2019-10-06 10:29:44 +02:00 (Migrated from git.eleves.ens.fr)

Sur master (b99fd03df2) à 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'

Sur master (b99fd03df290d6a2816df2a33d586f178d404b8d) à 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' ```
mpepin commented 2019-10-06 10:36:42 +02:00 (Migrated from git.eleves.ens.fr)

mentioned in merge request !370

mentioned in merge request !370
mpepin commented 2019-10-06 10:58:36 +02:00 (Migrated from git.eleves.ens.fr)

mentioned in commit 8c9de4303b

mentioned in commit 8c9de4303b695d87287aff1f456ca8df0a07c3e7
lstephan commented 2019-10-06 12:01:55 +02:00 (Migrated from git.eleves.ens.fr)

closed via merge request !370

closed via merge request !370
lstephan commented 2019-10-06 12:01:56 +02:00 (Migrated from git.eleves.ens.fr)

mentioned in commit fba6b592f5

mentioned in commit fba6b592f574645ee1242a0fa56e1754216aff10
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DGNum/gestioCOF#228
No description provided.