Forums

Unable to load Django default templates

enter code here

As you can see in the attached image, Pythonanywhere is loading the template but its indentation is not proper,

Also I updated Django from version 1.6.5 to 1.8.1 and 1.7.8 but my code was not working with the latest version,

So any starting point to solve this template issue??

thanks in advance

  1. are you using a virtualenv?
  2. did you run collectstatic?
  3. do you have static urls setup under your webapp tab?

Yes I am using virtualenv.

I dont know about any collect static command?

and I use static urls only for my website images and videos which are uploaded to it and for different javascript and jquery files only in webapp tab.

It looks like the CSS is not being found. You'll need to look at the Network tab in your browser to see what file it's requesting and then compare it to the static files settings you have in Django and on your web app tab to see how they compare.