How to Use Django Static Files (Django Tutorial) | Part 5

preview_player
Показать описание
Enjoyed my video? Leave a like!
Рекомендации по теме
Комментарии
Автор

I don't want to leave without saying thanks. I've had a problem loading my static files in django and this video has been of great benefit to me. Keep it up

jimmyopot
Автор

Very few of the guys who are actually helpful out there! Thanks!

ImBatmanYT_CODM
Автор

Your tutorials are perfect, no time wastage, just to the point pure knowledge without pfaff.

irjayjay
Автор

I couldn't get the background to come up until I reran the runserver. From the docs:
Serving the files; In addition to these configuration steps, you’ll also need to actually serve the static files.
During development, if you use django.contrib.staticfiles, this will be done automatically by runserver when DEBUG is set to True

nillies
Автор

I was struggling with some stupid case few hours and you saved my day :) thx a lot. Sometimes we need to go back and re-learn basics.

Mikey-ffvp
Автор

This video was SO helpful! You definitely have a knack for explaining concepts clearly. Keep up the great work :)
I might just add in that the server has to be restarted to show any changes. Unless I did something wrong...

joshuarodriguez
Автор

Are you using an atom package to show css colour in atom at 2:24, if so which package are you using? Also thanks for the work put into this tut

dhillon
Автор

you are the only one who could solve my problem !!!! THANK YOU

hamkb
Автор

You are absolutely the king of Django. Did you make it?

sonfuniverse
Автор

I understand your tutorial best.. the pacing is absolutely great for beginner & u did provide detail explanation on how things works.. Please make Django 2 advance tutorial !

namesarefools
Автор

Thanks Max! Would a tutorial of how to implement html pages from a template be within your scope? From a site such as wrapbootstrap, thanks!

jackwilkins
Автор

My static files (CSS) were not loading until I added this to the settings.py file:

STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'statics'),
]

cmetzger
Автор

Jinja templating engine or Django templating engine? I think Django comes with its own templating engine? Correct me if I am wrong.

sntshkmr
Автор

you always help me
.... love u for that mannn

simarjitkaur
Автор

you are like god for me thank you for this tutorial🤩🤩🤩🤩🤩🤩❤❤❤❤💕💕💕

tanojsharma
Автор

In windows and Django 2.X.X the css files gave 404 error until I added

STATICFILES_DIRS = ( os.path.join('static'), )

In settings.py at the end

AdnanSabbirr
Автор

Hey max !! if I am changing static there is no change show after one iterator in the browser help me out ....how to changes is shown whenever I am changing the static file.

bherulalkumawat
Автор

So without javascript I can create a static website with django and python? Is it possible..? I really hate javascript. More over changing the static file functionality into dynamic really sucks. lot of work

dhinakaran
Автор

I use pycharm in windows. And when i add the style.css file.it Do not show any background colour.. please help sir...

vikasvisking
Автор

hey max.i have an imagefield in my django model so where should i save my images is it in my static folder?

aamirhakeem