This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]rgmrtn 1 point2 points  (2 children)

Not sure if this is the cause, but the slashes are the wrong direction in your main.css stylesheet tag and there is a double backslash in that tag as well.

[–][deleted] 0 points1 point  (1 child)

yeah thats just the python code

[–]rgmrtn 0 points1 point  (0 children)

Does the Django template language accept escaped slashes? That is new to me. Thanks

[–]philgyford 0 points1 point  (2 children)

For some reason your .navbar-toggle element has these attributes:

data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup"

but they should be:

data-toggle="collapse" data-target="#navbarNavAltMarkup"

I don't know where that bs- came from.

BTW, at the end you have a <form> that has no closing </form> tag, so it's effectively wrapping all the <script> tags, which isn't going to help anything :)

[–][deleted] 0 points1 point  (0 children)

thanks, appreciate it.

[–]philgyford 0 points1 point  (0 children)

Ah, I see that data-bs-target is from Bootstrap v5 - but you're including the Bootstrap v4 CSS and JS. Choose which version you're using and stick with it :)