Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django 1.5 bug with template "extends"?

Tags:

python

django

I'm trying to figure out what is wrong with my code. As far as I can tell it may be a bug with Django 1.5. I am running on windows. The templates, css, etc.. are being found no problem. Semantically everything is being outputted to source correctly. The problem is some sort of quirk when the browser renders the page, possibly a development server quirk.

The issue is very difficult to explain so I made a video and put it on YouTube. The quirk only occurs if the the template has an "extends" in it.

Video showing the quirk

like image 990
Chris Hawkes Avatar asked Mar 09 '26 21:03

Chris Hawkes


1 Answers

As you say in the comments, the problem is with chrome as far as I know the Inspect Web code is different from the View Source code, a blog's post about this, maybe this can happen because a chrome's bug or I do not know if Jquery makes and inject or something like this, I do not think that this is a django's bug. So i think that you do not have to worry of all about this.

like image 190
Victor Castillo Torres Avatar answered Mar 12 '26 09:03

Victor Castillo Torres



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!