4👍
✅
Your problem in this line
from models import Post,Comment,User_Detailed_Info
You are using python 3.5 on Pythonanywhere.com and this version of python use absolute importing by default. Replace it with
from posts.models import Post,Comment,User_Detailed_Info
For more read.
https://www.python.org/dev/peps/pep-0328/
1👍
you are importing
from models import Post,Comment,User_Detailed_Info
in your settings files i see that your module is post that you need to call
from posts.models import Post,Comment,User_Detailed_Info
- [Django]-Django Rest Framework doesn't return Response code from condition
- [Django]-Cannot access admin panel after setting up django-oauth-toolkit
Source:stackexchange.com