Django Static Files CSS Stylesheets | Django Project | djblogger | 24
Вставка
- Опубліковано 3 січ 2023
- In this tutorial, we create static files for our project. More specifically, we connect a CSS stylesheet to our templates.
Udemy Course Link:
www.udemy.com/course/django-p...
UA-cam Ed Course Link:
• Django Project: djblogger
Developing applications can be a fun and effective way of learning a language and framework. In this course, we build a blog application Introducing you to Python Django Framework, Django Templating, the Bootstrap framework, HTMX, CSS, and HTML. In addition, this course introduces testing aspects of a Django project.
This course is primarily designed for anyone looking for a journey learning the Django Framework or developing web applications with Python. This course is a great starting point or a good first step after first learning about any of the technologies that this course features.
good work sir literally i stuck in it from so many days
You save my life bro.
Thank you. It works !🙏
How can we link a CSS file with a Python file without using HTML files? If for example we want to create a Dash Web App with Python and we want to style it with a CSS file?
Thanks it worked for me
how to fix internal server Error in Django sub route like home/, about/. when I am try to host in server but after installation the sub route not work. The error is 500 Internal Server Error.
Thank you so much 🙏❤
You were pointing to the static_url setting not the folder containing the static files. This is usually set with static_root and this is where collectstatic will collect all the locations identified in staticfiles_dirs
Thank you again. Not the smoothest of executions in this tutorial. I aim to use alternative approaches on deployment.
"The static file is in the inner djblogger folder, but it's in the outer djblogger folder, but just to be clear it's in the inner djblogger folder and it's no longer in the outer djblogger file. We'll move this to the outer djblogger file so its no longer in the inner djblogger file. So we'll delete the static file from the inner djblogger file and create it in the inner djblogger file, but then we'll remove the static file from the inner dj blogger file and put it in the outer djblogger file..."
That's pretty much all I got from this tutorial.
Thank God I'm not paying for this...
Don’t forget to move it to the outer djblogger file and then the inner and then back to the outer. That’s the trick. 😜 when you say file you mean folder? Wish you all the best Todd.
@@veryacademyyou raise a very good point here, but you missed out the bit where you have to be riding a unicycle with only your right leg whilst doing all this 😉
Oh you watched this too ua-cam.com/video/WBQjEXd93Ds/v-deo.htmlsi=dOBt-FVBOkf3IXD_ ☺️
@@veryacademy beautiful 🤣
Thanks! I it took a long time keeper do this but I don't understood. Very thanks teacher.
Glad it helped!
THANKSSSSSSSSSSSSSSSSSSS
Great Tutorial as always.
can we expect advance django tutorials soon ?
We are slowly getting there! I know, the wait has been far too long!
@@veryacademy waiting
python is asking for django tutorials 😂😂🤣🤣
@@PiyushM3845J if this comment is funny for you. you need a doc child.
thanks
You're welcome!
my admin page has no css?
mine either, did you fix it?
I guess making things more complicated then necessary is part of your teaching approach. The truly stupid directory layout even confuses you so maybe you can imagine what frustration a beginner feels. the djblogger folder ...sorry.. the blog folder....sorry...remove the .parent added just to point out something for the sake of confusion that we then delete....sorry. Others seem to enjoy the digressions and redos - I just don't happen to be among them....sorry.
I agree. This tutorials just idiotic.
Exactly... Maybe there's some big production reason to do it but even then it's not a good idea to include it in the beginners tutorial. We watched 17 videos before we created first app and then we spent one single video on creating models. I feel like the author is just flexing he can do all that stuff the dumbest way possible.
I think this whole series is a bit too much confusing, I'm gonna finish it, because I'm deep and don't want to completely waste the time I've spent doing it but this really is not quality content.
Wasted 15 mins of my life.
i have never seen such a bad tutorial.
It doesn’t work until I changed the STATIC_URL=“/static/”
Good luck every and thank you @veryacademy 🙏
thanks pro you help me