Terminal showing this when I run the server and click on the Pinterest icon in the QEat APP. please help me to understand the issue and resolve it

Terminal showing this when I run the server and click on the Pinterest icon in the QEat APP.
please help me to understand the issue and resolve it

File “/home/crio-user/workspace/sudhanshusoni500-ME_QEATS_REVIEW_MP/restaurants/views.py”, line 224, in post
pinterest = restaurants.pinterest_post.Pinterest()
AttributeError: module ‘restaurants’ has no attribute ‘pinterest_post’
[02/Feb/2020 06:39:52] “POST /qeats/v1/review/share HTTP/1.0” 500 16270

Please make sure you make the required changes in the views.py file as well.

observe views.py wrt facebook_post and you will understand what lines are required for pinterest_post

I still cant get past the error.
Have spent more than 2 hours

check for missing imports

1 Like