Комментарии:
bro just wanted to say that 6 years later, your django tutorials are still the best around! 🤗
Ответитьthe styles.css styles wont load on my articles.html
Ответить<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="{% static 'styles.css' %}">
I struggled to find a solution that will work but this has made my work easy, thanks bro a subscribe 4 you and a like on top
ОтветитьIf you are still having trouble loading the /static/styles.css page - try restarting. I tried every fix on here and nothing was working. Restarted and it worked face palm
ОтветитьThank you very much for this video
ОтветитьThank you very much
ОтветитьNot working
ОтветитьThank you very much :)
Ответитьguys, if you have problem with staticfiles, just replace this line to {% load static %}
Ответитьupdated:>>> {% load static %} not use whatever shown on video.
ОтветитьI'm confused
without STATICFILES_DIRS set
how could /static/style.css open on the project
Does django already know about the file ?
Thanks for the tutorials, I've learnt a lot from you
ОтветитьI had to take the preceding forward slash out of STATIC_URL: STATIC_URL = 'static/' for it to work... in case anyone else is stuck!
ОтветитьThank you!
ОтветитьLife saver !!
ОтветитьThanks a lot
ОтветитьIf you're running a more recent version of django, use this instead of the os.path.join method. BASE_DIR goes into the base project folder, it then looks for a folder called static.
STATICFILES_DIRS = [
BASE_DIR / 'static'
]
please make new videos with other example and updated django version
ОтветитьThank you very much 😊👍
ОтветитьIf your changes in css is not reflecting on web page then it might be because of your browser is caching css file in the browers,
Try refreshing web page by holding ctrl or shift, this should work.
hi, i didn't quite understand why i used a folder that contains all our static files
ОтветитьOLD VIDEOO!!!!!
Ответитьyou know what you video helped me a lot, wonderful
ОтветитьPython might make you add a trailing comma in the Touple
ОтветитьBiz orospu çocuğu muyuz ben de niye olmuyo
ОтветитьThanks for the tutorials!
I got some question, how do I access another static file in another directory from my css file? the curly braces seems to cause trouble when I used {% load static %}
where is advanced , i am waiting for it .you are the best teacher . i need tips to make my website secure .
Ответитьyou're a LEGEND !!!
ОтветитьI wish you could make Django/AWS for production a mini series or a simple tutorial Shaun! Not many people guide for industrial production level basis..
ОтветитьThanks man for making it seem so easy
ОтветитьYour communication skills are the best!! Short, sweet and to the point. Thank you.
ОтветитьI can not get static files in the browser
ОтветитьThank you!! I searched many information, so I find this! I thougt about give up, but with your help I may continue my hobby!
ОтветитьThanks
ОтветитьI really like your tutorial videos. Each video/Topic is short, and gets straight to the point. I know this version may be a little outdated, but I prefer to go by your videos!
ОтветитьThanks
Ответитьawesome tutorial bro. You really know your stuff.
ОтветитьStill waiting for Django for production series!!!
Ответитьno idea what im doing wrong. I cant go to a url and work
ОтветитьI want to use {% load static%} with this;
<header class="masthead" style="background-image: url('img/home-bg.jpg')"> how i use idk
THANK YOU. I can't believe how bad the official django documentation is for this simple task.
ОтветитьReally cool explanations! Thank you.
Ответить