It looks like the next step is to set up static files. @dscapuano, in his guide, did it by copying everything into /var/www/static, but there is a simpler way nowadays, with our static files section in the web tab. Basically there's three steps:
- Choose a folder to store static files in
- Tell PythonAnywhere where that folder is, and what URL you want static files on
- Tell Django where that folder is, and what URL static files are served at.
For step 2, you go to the Web tab, and set up a Static Files entry, with the URL and path to the directory you've chosen. Don't forget to hit "Reload Web App" when you're done.
For step 3, you should edit your settings.py, set up the variables STATIC_ROOT
(the path to the static folder) and STATIC_URL
, and then run a management command,
python manage.py collectstatic
That's the django command the collects up all your static files and copies them into a single folder. There's more info in the django docs on static files