▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My TH-cam Channel: bit.ly/3bWN6wj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
I love your teaching style John. There are so many video tutorials out there, but very few are such fun. You add friendliness while being professional and that is an art. I am a 64 year old amateur (not much chance of a career change as we speak) who loves coding, and your videos (I follow many) are just what I need. Thank you for your hard work.
Really good tutorial series so far! Thanks, learning from tutorials like this can be the difference between getting your first professional position or going around the circles of dead-end jobs.
Hey John, great video today and congrats on the 10k subscribers. I am really enjoying the playlist and I am eagerly waiting for the next one in the series. just a suggestion can you show where in the file structure you would put bootstrap if you don't want to use the CDN and any configuration that needs to be done with it?
Thanks! To do that, you'd save it in the static directory and use static tags. I have another playlist on youtube (check my channel) on building a dental website with django. In that playlist I show how to use template files using the static directory. We don't use bootstrap specifically, but it's the exact same process.
I fee like the answer is obvious but when is the 'post' variable passed onto the templates? I have been looking at the code thus far and can't seem to find when that variable is passed onto the templates to be used. Also, thanks for the series this is just what I've been needing to learn Django and get comfortable with it.
So kept doing research and is it because post matches the name of the model and the templates ignore case-sensitivity? I ask because when I was looking it up more and found an example of someone implementing a class-based view and they used 'object' as a variable in their templates. As a test I did the same and it worked.
Hi John. I've noticed that the jquery/popper script in the bootstrap copied code never works for my modals or accordians. For my flask project id grabbed the code from elsewhere. cant really remember where from for my django project. Have you experienced this issue?
No, you must not be copying all the code. There's usually a bit of js code that goes at the BOTTOM of your page too. If you leave that off those things won't work. You likely left them off. Otherwise they can't not work.
I used the block content and end content and used it in home.html but the bootstrap doesn't work...now in the home page only {% block content%} {% end content %} is showing and nothing else ....how to fix
Hi John, thanks for your very interesting videos. I wanted to go on your website but when I click on your link the site can't be reached. Do you have any info about why it doesn't work ? Thanks
when I set dinamic page title, I have this error 'Invalid block tag on line 11: 'endblock'. Did you forget to register or load this tag?' If i replace {{post.title}} with something else, like 'blog title', everything works fine. I can't resolve this error. Do you have any idea?
@@Codemycom I tried doing it separately sir, like creating a dummy html file and adding the bootstrap sources for logo and text, in that case it came sir, I don't know why this happens with me whenever I use html file in django.....
Hlo sir. For me if I click my freakin blog it's not goin to home page it's showinge some error we can't find the url . But I gave the url home correctly still it's showing like this. Can u help me
change your font. Sublime isn't doing that, the typeface is. Whatever font it defaults to on your computer is just dumb is all. Thankfully it doesn't do that on mine.
▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My TH-cam Channel:
bit.ly/3bWN6wj bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
nevermind, it is found on older verion 4.4
dude, you're our Heisenberg for python! hats off
Ha, thanks!
Did you mean he is teaching python but not. But he is teaching.
When I'm following your tutorial, I realised many error when I build my website by django and you also solved it.
Many thanks, you're good teacher.
You're welcome!
I came for the Breaking Bad jokes, but stayed for the awesome content. You are keeping it clean and to the point! Liked and subscribed.
Ha thanks!
I love your teaching style John. There are so many video tutorials out there, but very few are such fun. You add friendliness while being professional and that is an art. I am a 64 year old amateur (not much chance of a career change as we speak) who loves coding, and your videos (I follow many) are just what I need. Thank you for your hard work.
Thanks Barrie, I appreciate that!
Really good tutorial series so far! Thanks, learning from tutorials like this can be the difference between getting your first professional position or going around the circles of dead-end jobs.
Glad you're enjoying them!
Great explanations as usual and I enjoyed how you went through the process of changing each component.
Thanks!
i love bootstrap and this series which i have just started
Happy to hear it!
very good explanation
Thanks!
Waiting for #4 😊 Great video informationally and much fun. Keep it going buddy
Thanks! Glad you're enjoying them!
Hey John, great video today and congrats on the 10k subscribers. I am really enjoying the playlist and I am eagerly waiting for the next one in the series. just a suggestion can you show where in the file structure you would put bootstrap if you don't want to use the CDN and any configuration that needs to be done with it?
Thanks! To do that, you'd save it in the static directory and use static tags. I have another playlist on youtube (check my channel) on building a dental website with django. In that playlist I show how to use template files using the static directory. We don't use bootstrap specifically, but it's the exact same process.
Nice video this is the one that I was searching for. Keep it up
Glad you liked it!
You are awesome 😎 bro and you responded to each comments that is pretty cool ☺️
Awesome tutorial. I just struggled with bootstrap but will go though tutorial for it. For now no bootstrap, will just focus on django
cool
You are awesome!!
Thanks!
Great video.
Thanks!
Walter White is good at teaching code besides chemistry! Thanks.
I learned some good things. Thanks!
Glad to hear it!
love from India ❤
Thanks, from Las Vegas!
I fee like the answer is obvious but when is the 'post' variable passed onto the templates? I have been looking at the code thus far and can't seem to find when that variable is passed onto the templates to be used. Also, thanks for the series this is just what I've been needing to learn Django and get comfortable with it.
So kept doing research and is it because post matches the name of the model and the templates ignore case-sensitivity? I ask because when I was looking it up more and found an example of someone implementing a class-based view and they used 'object' as a variable in their templates. As a test I did the same and it worked.
Thank you for your hard working
Thanks!
I'm 40404 viewer =)
Thank you
😊
welcome
Sir i love u so much !
Thanks!
you can use models.SlugField() too
yes
Hello sir for the title can we add {{ post.title }} in the base.py file ?
We talk about titles later in the playlist I believe...
@@Codemycom ok sir. Thanks a lot 😊
Great....how we can add bootstrap or material design bootstrap offline?? Plz make video on this..im very thankfull to you
I have a dental website playlist that shows you how to use static files...check that out.
@@Codemycomprovide link plz...i
@@mianshani9115 Check the channel playlist section.
thanks ✌
Welcome!
Hi John. I've noticed that the jquery/popper script in the bootstrap copied code never works for my modals or accordians. For my flask project id grabbed the code from elsewhere. cant really remember where from for my django project.
Have you experienced this issue?
No, you must not be copying all the code. There's usually a bit of js code that goes at the BOTTOM of your page too. If you leave that off those things won't work. You likely left them off. Otherwise they can't not work.
@@Codemycom where is this bit of js code now?
@@iversonrobotics The bottom of the base.html file, that contains the bootstrap starter code.
thank you
welcome
excellent project, how can we use vuejs instead of plain html with django
Sorry, I don't use vuejs
thanks dear
Welcome
Boom!
Ha!
Thanks!
Welcome!
my guy!!
:-)
I used the block content and end content and used it in home.html but the bootstrap doesn't work...now in the home page only {% block content%} {% end content %} is showing and nothing else ....how to fix
Hi John, thanks for your very interesting videos.
I wanted to go on your website but when I click on your link the site can't be reached.
Do you have any info about why it doesn't work ?
Thanks
Hey Martin. The site seems to be working fine. And I have no downtime reports...maybe your internet just hiccuped. Try it again :-)
Does the meta description work the same as the title tag?
meta description is to tell the search engines what your site is about.
How can we add background image to this home page?
when I set dinamic page title, I have this error 'Invalid block tag on line 11: 'endblock'. Did you forget to register or load this tag?' If i replace {{post.title}} with something else, like 'blog title', everything works fine. I can't resolve this error. Do you have any idea?
There's an error in your block code at the top of the page. line 11 did you end it without starting it?
@@Codemycom {% extends 'base.html'%}
{% block title%}{{ post.title }}{%endblock%}
{% block content %}
{{ post.title }}
Written by: {{post.author}}
{{post.body}}
Back
{% endblock %}
This is my code, I can't find error :(
i got the same error, there is a space that causes the error in the block tags. find it.
Sir, I wanna add a logo sir but, even though I gave the path correct the image is not showing correctly..
Please help me out sir...
What did you do differently than my videos? You likely didn't use the correct path even though you say you did...
@@Codemycom I tried doing it separately sir, like creating a dummy html file and adding the bootstrap sources for logo and text, in that case it came sir, I don't know why this happens with me whenever I use html file in django.....
@@hariharanbalasubramanianpr4243 sir sir sir
@@shehsuteuwhe yes?
sir can you do an ecommerce based project using django please.
Sure, one day
Please tell how to use that search button to search the blogs???
Already have videos on that
hi thre :) how to display title tag inside url instead of the primary key id
we may discuss that
Hlo sir. For me if I click my freakin blog it's not goin to home page it's showinge some error we can't find the url . But I gave the url home correctly still it's showing like this. Can u help me
Check your code, you did not give the home url correctly, even though you think you did. You likely forgot something.
@@Codemycom yeah I got output.. instead of bootsrap how to use static.css
And is it possible to extend html file and load static.css in home.html
@@vidhyasripathi5191 Of course, you can do that on any page..
16:00
How to Arrange CSS Card Post On a Set up to 3 in One Line in Django Without Bootstrap
That's an oddly arbitrary thing to ask. Sounds like you want me to do your homework...
Please Put a Video Tutorial For This
@@zainulhassan9186 No, I'm not going to complete your coursework for you...and I have no idea what you're asking about anyway.
9:40
dont use a formatter because we can do it ourself🤣. Nice manual formatting
change your font. Sublime isn't doing that, the typeface is. Whatever font it defaults to on your computer is just dumb is all. Thankfully it doesn't do that on mine.
Sublime chooses the font, so yes...sublime is doing that. Yeah I could change the font.