the code on my localhost and on the server are completely the same (django), but it is not shown correctly; I include two screenshots

What could be the cause of the difference?

(the left one is the online server; the right one is the localhost)

Here's what I think:
If it refrences outside objects at all, than it will be different if you have it on a different server. Check and make sure that all the folders and files are completely the same.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.