Receipts page broken #57262

Closed
opened 2018-10-16 14:52:42 +02:00 by Sybren A. Stüvel · 3 comments
Traceback (most recent call last):
  File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "./blender_fund_main/views/settings.py", line 31, in settings_receipts
    order_set = request.user.customer.order_set
AttributeError: 'Customer' object has no attribute 'order_set'
2018-10-16 14:50:02,947    DEBUG looper.gateways.Registry 326 140462595860288 Instantiating payment gateway instances.
``` Traceback (most recent call last): File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response response = self.process_exception_by_middleware(e, request) File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/var/www/blender-fund/.venv/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "./blender_fund_main/views/settings.py", line 31, in settings_receipts order_set = request.user.customer.order_set AttributeError: 'Customer' object has no attribute 'order_set' 2018-10-16 14:50:02,947 DEBUG looper.gateways.Registry 326 140462595860288 Instantiating payment gateway instances. ```
Sybren A. Stüvel self-assigned this 2018-10-16 14:52:43 +02:00
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Author
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author
Owner

Fixed in 459d57a85f

Fixed in 459d57a85f7ca394a263bbf450bedafccf262d34
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: infrastructure/devfund-website#57262
No description provided.