Flask Web Development with Python Tutorial – 5 – Static Files

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

23 responses to “Flask Web Development with Python Tutorial – 5 – Static Files”

  1. Minoan Light Avatar

    My PyCharm doesn't have that much support for CSS files. It works, but no syntax highlighting, suggestions, nothing.

  2. matthew yong Avatar

    I’m facing the same problem loading a CSS on PyCharm because I don’t have the pro edition. Is there an alternative IDE that can do this?

  3. Neha Karn Avatar

    I have added my CSS file and set the path as you did ,but neither css file nor bootstrap is executing.Please tell some solution.

  4. Nikolai Myhre Avatar

    How can I get the CSS file? Please answer

  5. Victor Zheng Avatar

    Had trouble with this one.

  6. TURYARUGAYO MARTIN Avatar

    Unfortunatly my css is not working

  7. vinzanity68 Avatar

    why does css have a variable location, but templates is fixed? why not fix the css location like templates?

  8. Peter Girnus Avatar

    Just use SHIFT+ALT+DEL to clear the browser cache after you've made a CSS change ladies and gents

  9. Thiago Farias Avatar

    You could only explain the "problem" about the browser cache control. I tried to change the color and I spent nearly 10 hours trying to find the reason it din't find the CSS. Flask sets cache control headers on static resources, and your browser will cache those files up to 12 hours.

  10. Thiago Farias Avatar

    It is an amazing video…

  11. Tal Nir Avatar

    why you stop write debug=True????????

  12. josip bartulović Avatar

    Opera doesn't want to run my stylesheet but chromium does

  13. bugsy Avatar

    Does anybody know why I get a pipe error when streaming a video on my site?

  14. BookOfSaints Avatar

    Hey Bucky, when I edit my css file, it doesn't change the style. It only keeps the css styles from the first time I run it, but no changes after.

  15. BookOfSaints Avatar

    Need Ultimate edition for css to work here…such a bummer 🙁
    Great tutorials though!

  16. Wineblood Avatar

    I don't get it, you said (maybe in an earlier video) that /static was for static files, so why would they change?

  17. Максим Кузичев Avatar

    I dont like use STATIC in my URL. I want URL starts with CSS for css files and IMG from my images. How to implement it?

  18. ilker aykut Avatar

    new stylehseet does not appear in my dropdown list of file types.İs there anyone to help me?

  19. gold tech Avatar

    Finally, someone who explains it clearly! Thank You!

  20. Syntax Error Avatar

    should have said "You need Pro- Edition" before u baited us into this…. lol Nice TuT's though

  21. Harshit Agarwal Avatar

    why do we add type='text/css' even if it works without it ?

Leave a Reply

Your email address will not be published. Required fields are marked *