How to Serialize with a Foreign Key in Django

Viewed 18

I made serializers and views on my project , the route works when i don't add the others (in fact , they work one to one but not together).

i have AttributeError: module 'name.views' has no attribute 'name2_list'

i tried to nested but it doesn't work.

what could it be ?

0 Answers
Related