I followed Nick's instructions from a total fresh start with PythonAnywhere and Wagtail. Everything worked flawlessly, except when I loaded up the admin page on PA after the first deployment. The CSS and JS files referenced by the templates did not load. The resolution from PA turned out to be easy, following their own article: https://help.pythonanywhere.com/pages/DjangoStaticFiles
Based on those instructions, I added the below to the Static Files section of the Web App Settings (with my own domain name in the directory path):
- URL: /static/
- Directory: /var/www/sites/www.domain.com/static
Reloaded the page and all was well!
I followed Nick's instructions from a total fresh start with PythonAnywhere and Wagtail. Everything worked flawlessly, except when I loaded up the admin page on PA after the first deployment. The CSS and JS files referenced by the templates did not load. The resolution from PA turned out to be easy, following their own article: https://help.pythonanywhere.com/pages/DjangoStaticFiles
Based on those instructions, I added the below to the Static Files section of the Web App Settings (with my own domain name in the directory path):
Reloaded the page and all was well!