Solved

Responsive site not rendering using inbuilt Django server

Posted on 2015-02-02
2
92 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40584810
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
ID: 40584884
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

730 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