I am trying to configure a Django application on Pythonanywhere - I was able to detect Bitbucket and clone the code - I deleted the files in the directory that was provided for me, but cannot make it work.
I made "syncdb", then when I get to what I think is the correct URL for the application, I keep getting "Unhandled Exception". The error is that it cannot find "portfolio.settings" in the import (portfolio is the name of the application)
I also do not know what to put for MEDIA_ROOT and STATIC_DIRS - they should be, as far as I know, in full ways, and not relative.
I'm new to Django, and it proves pretty overwhelming to get an application that works fine locally, deployed. Any help I provide (I haven't found Pythonanywhere forums that don't seem to be indexed, or don't help everyone, which is useful, I'm afraid)
I also thought: why I do not allow Pythonanywhere to set up an empty project for me, but again, I do not know how to handle STATIC_DIRS and MEDIA_ROOT, and I really do not know how to make my project fit their settings.
Thanks for any help.
python django pythonanywhere
Cerulean
source share