I'm using custom user model which is under user app and django rest framework. In urls.py file when i try to import views of user app with code
from user import views as userviews
it gives me error :
ImportError: cannot import name views.
It is working fine in development copy. I cannot figure out the exact cause in pythonanywhere.