Forums

My Mezzanine project does not work properly on pythonanywhere

Hi guys,

Sorry if I am asking a stupid question. I am kind of new to Django and I have been trying to set up a blog using Mezzanine in pythonanywhere but this is how my current project look like:

http://techblog.pythonanywhere.com/

Can anybody here tell me what is going wrong here?

It looks like your site isn't picking up the CSS it expects so it's unformatted -- for example, there's no static/css/bootstrap.css.

You need to configure these in the "Static file" table in the "Web" tab; from the look of your webpage, I think you'll just need to set up a mapping with the URL stub /static and the directory /home/TechBlog/YOURDJANGOAPP/static (obviously replacing YOURDJANGOAPP with the appropriate directory name).

Once you've done that, hit the "Reload" button for the web app and it should start working.

I really appreciate your help giles. It is now working properly thanks to your help.

Excellent, thanks for confirming!