Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"AttributeError: 'list' object has no attribute 'all'" w tags #615

Open
ad-m opened this issue Oct 11, 2020 · 0 comments
Open

"AttributeError: 'list' object has no attribute 'all'" w tags #615

ad-m opened this issue Oct 11, 2020 · 0 comments
Labels
back-end bug Something isn't working v2

Comments

@ad-m
Copy link
Member

ad-m commented Oct 11, 2020

App 32 output: Traceback (most recent call last):
App 32 output:   File "/data/env/lib/python3.7/site-packages/drf_yasg/utils.py", line 497, in get_field_default
App 32 output:     default = field_value_to_representation(field, default)
App 32 output:   File "/data/env/lib/python3.7/site-packages/drf_yasg/utils.py", line 461, in field_value_to_representation
App 32 output:     value = field.to_representation(value)
App 32 output:   File "/data/small_eod/backend-project/small_eod/tags/fields.py", line 15, in to_representation
App 32 output:     for item in data.all()
App 32 output: AttributeError: 'list' object has no attribute 'all'

Zauważyłem na produkcji ww. wyjątek. Nie widzę konkretnego żądania, więc musimy obserwować.

@ad-m ad-m added bug Something isn't working back-end v2 labels Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end bug Something isn't working v2
Projects
None yet
Development

No branches or pull requests

1 participant