Forums

blank page after deploying existing wagtail app

Hi, I'm not seeing any errors in the logs but I'm getting a blank page at http://genehiggins.pythonanywhere.com/. Are there additional places I should be looking for errors?

Thanks

If there are no errors and you see a blank page, make sure that the web app is actually rendering what you expect it to render.

It's not meant to be rendering a blank page, so no, it's not rendering what's it's supposed to be rendering.

<!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <title> Home </title> <meta name="description" content="" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" type="text/css" href="/static/css/hobbyblog.d41d8cd98f00.css"> </head> <body class="template-homepage"> <script type="text/javascript" src="/static/js/hobbyblog.d41d8cd98f00.js"></script> </body> </html>

Awesome, thanks.

What code do you have to render the front page?

I'm not sure what you're asking. Are you asking for the file locations of my homepage views and/or templates?

/home/genehiggins/wagtail_blog/home/templates/home
/home/genehiggins/wagtail_blog/home/models.py

This works locally, it's just not configured correctly for pythonanywhere.

Are you following some kind of tutorial? Can we have a look at your files?