Solved

Responsive site not rendering using inbuilt Django server

Posted on 2015-02-02
2
82 Views
Last Modified: 2016-02-25
Hi,
I have a problem with a template. I have copy/pasted a responsive bootstrap web page into the template I am using in Django and then added in my python code to display dynamic content.

When I then try to view the page, there is no formatting. However when I view source and copy paste that into another file and call that from my local apache server, the page loads as expected.

I have put the CSS and JS folders in the folder where the template is stored and am all out of ideas!

please can someone help

thanks
Nick
0
Comment
Question by:lz7cjc
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
Comment Utility
Most template do a lot of scripting that generally overrides all or part of the CSS that is not part of the template.  Unless the pieces are compatible there will be conflicts ranging from minor rendering errors to a complete loss of styling.

A second possibility is that the server cannot resolve the path specified for the Bootstrap files.

Trying to cobble things together where there is not absolute claim of compatibility will frequently cause problems if you are not writing your own code.

Cd&
0
 

Author Comment

by:lz7cjc
Comment Utility
I think it might be the latter - am going to have a go at sorting it out in the morning - thanks for your help
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This video teaches users how to migrate an existing Wordpress website to a new domain.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now