Тёмный

Django Static Files CSS Stylesheets | Django Project | djblogger | 24 

Very Academy
Подписаться 67 тыс.
Просмотров 23 тыс.
50% 1

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/...
RU-vid 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.

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@madusan1
@madusan1 Год назад
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
@veryacademy
@veryacademy Год назад
Thank you again. Not the smoothest of executions in this tutorial. I aim to use alternative approaches on deployment.
@toddgilbey3979
@toddgilbey3979 Год назад
"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...
@veryacademy
@veryacademy Год назад
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.
@toddgilbey3979
@toddgilbey3979 Год назад
@@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 😉
@veryacademy
@veryacademy Год назад
Oh you watched this too ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WBQjEXd93Ds.htmlsi=dOBt-FVBOkf3IXD_ ☺️
@toddgilbey3979
@toddgilbey3979 5 месяцев назад
@@veryacademy beautiful 🤣
@PUbaidUrRehman
@PUbaidUrRehman 5 месяцев назад
good work sir literally i stuck in it from so many days
@andersonzapata4516
@andersonzapata4516 8 месяцев назад
Thanks! I it took a long time keeper do this but I don't understood. Very thanks teacher.
@veryacademy
@veryacademy 8 месяцев назад
Glad it helped!
@Faheemqazi-tv4rs
@Faheemqazi-tv4rs 5 месяцев назад
You save my life bro.
@abyssinia_entertainment
@abyssinia_entertainment Год назад
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.
@djangodeveloper07
@djangodeveloper07 Год назад
Great Tutorial as always. can we expect advance django tutorials soon ?
@veryacademy
@veryacademy Год назад
We are slowly getting there! I know, the wait has been far too long!
@djangodeveloper07
@djangodeveloper07 Год назад
@@veryacademy waiting
@PiyushM3845J
@PiyushM3845J Год назад
python is asking for django tutorials 😂😂🤣🤣
@djangodeveloper07
@djangodeveloper07 Год назад
@@PiyushM3845J if this comment is funny for you. you need a doc child.
@Youu88Tubee
@Youu88Tubee 4 месяца назад
Thank you. It works !🙏
@andrewhenderson593
@andrewhenderson593 Год назад
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?
@pillisusmitha3590
@pillisusmitha3590 Год назад
Thank you so much 🙏❤
@digitalzone5099
@digitalzone5099 Год назад
Thanks it worked for me
@arunbabu995
@arunbabu995 Год назад
my admin page has no css?
@dotcon70
@dotcon70 Год назад
mine either, did you fix it?
@jamescapparell5673
@jamescapparell5673 Год назад
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.
@toddgilbey3979
@toddgilbey3979 Год назад
I agree. This tutorials just idiotic.
@medui
@medui 3 месяца назад
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.
@adnanchalwati7643
@adnanchalwati7643 Год назад
thanks
@veryacademy
@veryacademy Год назад
You're welcome!
@aliahmad-zi5co
@aliahmad-zi5co Год назад
THANKSSSSSSSSSSSSSSSSSSS
@medui
@medui 3 месяца назад
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.
@nino12729
@nino12729 Год назад
i have never seen such a bad tutorial.
@roykeane5959
@roykeane5959 Год назад
Wasted 15 mins of my life.
@naciraboussoualim8638
@naciraboussoualim8638 9 месяцев назад
It doesn’t work until I changed the STATIC_URL=“/static/” Good luck every and thank you @veryacademy 🙏
@xudayfitechoffiaicl5125
@xudayfitechoffiaicl5125 Год назад
thanks pro you help me
Далее
4 ways to serve static files in Django
8:11
Просмотров 12 тыс.
РЫБКА С ПИВОМ
00:39
Просмотров 521 тыс.
Grand Final | IEM RIO 2024 | BO5 | КРNВОЙ ЭФИР
6:35:24
Laravel vs Rails for Javascript developers
19:50
Просмотров 5 тыс.
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Просмотров 404 тыс.
Web Developer Roadmap (2024) - Everything is Changing
25:02
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Просмотров 170 тыс.
Django Base Template | Django Project | djblogger | 23
13:19
Новый CSS! 2024
18:06
Просмотров 21 тыс.