▶️ 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
thanks for your great content .i really enjoyed it but one small thing . please show a demo of your project before you start coding . that helps us to understand what are we gonna make in like 3 min so it's great !
0:52 - "That's what we're gonna work on here, I don't know, 5 or 6 to 10ish videos" Proceeds to create a playlist consisting of 37 videos, all extensive and beautifully explained. Bad jokes aside, I'm really thankful for this tutorial. You don't waste a single moment on trivial issues and cut straight to the chase.
Great tutorial. Just discovered you, but I love your style. I think these video lengths are good as well...gives the students more options to do small chunks or combine videos.
This is pure GOLD. Thank you man! I am new in this python environment and I decided to try creating a blog haha crazy. Also started with the python crash course (book) but I am moving slow. You got a new subscriber here.
Great undiluted teaching here. God bless you. This is thorough and total. Please can you include in your teaching how to build cooperative app that update members subscription monthly. I will be glad to hear more on this from you. Thanks for your teaching
After doing every thing and following your procedures my comments are not being displayed and i get no error in my development server.great tutorials by the way
@@Codemycom i was using function based view so after changing my code to for form in comments.all since form is my context name in the context dict, the problem stopped. thanks a lot
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
Thank you so much for such excellent work you did. Many questions I had you have described here very deep. The last question only - how do you know which functions or methods inside objects or classes you use in Python/Django? It is clear - experience, but where to get info about? Thank you so much! Will continue watching your playlist.
I LOVE YOU SIR. I'm on the third video right now.. this tutorial is 🔥🔥🔥.. I just have to quickly make this comment before I continue.. I wish I could subscribe on your page a thousand times.. Thank you so much sir.
Hi I was following your video but I got error around 17:00 when I reload This is the error I have and I tried to find the problem on internet but I cannot figure it out Can you help me out where I should check my code ?? ?: (urls.E004) Your URL pattern 'pk-->primary key , when creating entry they get assigned idnum assign primary key' is invalid. Ensure that urlpatterns is a list of path() and/or re_path() instances. HINT: Try removing the string 'pk-->primary key , when creating entry they get assigned idnum assign primary key'. The list of urlpatterns should not have a prefix string as the first element. I just noticed the video I was following was #2. But I still have problem on the part... Please help me out I am totally stuck.....
Hi, Heisenberg can you please tell me how to differentiate between users. I want to be the only one to be able to post. But all other users can comment.
For some reason, Django doesn't setup templates correctly from default. In your settings.py file (the same one that is edited in the video), at the top where you see 'from pathlib import Path', make a new line under it and add 'import os' Then, scroll down to where it says 'DIRS': [] and inside the brackets, add os.path.join(BASE_DIR, "templates") That should make the templates work as expected. I don't know what this wasn't mentioned or why Django doesn't have this as default as it would be easier to remove it or just not use it than to remember to add this to every project.
@@Codemycom Good to know, thanks for the info. Do you happen to know why they removed it? I've re-built my demo projects over and over because templates wouldn't work and I thought I did something wrong when it's actually missing DIR paths and the os import missing.
@@DrHappybone Apparently they think the new path thing is better *shrugs* all you need to do is add import os, your legacy code should work with just that.
@@Codemycom Hi, Many thanks for your reply. I forgot a word in my my message. Do you have this blog course listed on your website? If yes, can you please share me the link? Also do you have a github repo where you share the source code for this as well as the courses listed on your website?
MSYS2 is working solution for Django on Windows. But pay attention Django creates windows style linefeed in files, which is not good if you make real production site. Better use real Linux inside virtual machine on Windows and do development from there.
@@Codemycom I can't my projects complete. The blog is too be added to A new Web page. So python manage. py start app blog was ran first. Just wondering where to start from on the videos.
Hi there, I have got some problems with Django's admin page, I am able to access localhost:8000(Django default page), but after I created the superuser and tries to go to admin page and login, it returns 'localhost refuse to connect'(and this in the Git terminal: "GET /admin HTTP/1.1" 301 0 "). Then the server just breaks with no return error messages. Could you please help with this problem? Thanks a lot.
▶️ 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
thanks for your great content .i really enjoyed it but one small thing . please show a demo of your project before you start coding . that helps us to understand what are we gonna make in like 3 min so it's great !
@@mermaidcodes I'm making it as we go, so I can't show you before hand.
This channel is underrated. It needs atleast 1 mil.
Thanks! I agree ;-) tell your friends!
Lol
@@Codemycom Hey! I think you should exhibit your tutoring skills on freecodecamp.org 's TH-cam channel. You are gonna get a lotta publicity there!
Yes, agree
@@plusk343 he already have courses on FCC
0:52 - "That's what we're gonna work on here, I don't know, 5 or 6 to 10ish videos"
Proceeds to create a playlist consisting of 37 videos, all extensive and beautifully explained.
Bad jokes aside, I'm really thankful for this tutorial. You don't waste a single moment on trivial issues and cut straight to the chase.
Glad you enjoyed them!
The pace of this is perfect! Not at all bogged down with simple steps, but also well elaborated
Thanks, glad you’re enjoying it
i'm at #19 and this course definitely worth your time
Glad you think so!
Seriously you deserve 100M subscribers. Love from Bangladesh.
Thanks! Tell your friends ;-)
Here too
Really thank u heisenberg, im gonna watch the entire playlist !
Saludos from Chile
Heisenberg from Breaking Bad? jaajaj que gracioso eres :)
This channel is really a goldmine
Thanks!
5 to 10 videos... I see 34 already and it seems like you are not going to stop there. Thanks for the tutorials!
Ha yeah I tend to get carried away
You make django more beautiful!!!
Wow, thank you!
very underrated channel...I would surely recommend my friends this..Thnx mate for putting this up on internet for free
Much appreciated!
Great short tutorial. Django is typically safer and faster than WordPress.
For sure
I am Japanese. I understand a little English, but it was very interesting and easy to understand!
glad you enjoyed it!
It beneficial for us.
Thanks for this project, From India 🇮🇳
Welcome!
I'm very excited to complete watching this playlist :)
Enjoy!
Great tutorial. Just discovered you, but I love your style. I think these video lengths are good as well...gives the students more options to do small chunks or combine videos.
Glad you like them!
A Heisenberg of coding:)). Nice job posting!
Thanks!
This is pure GOLD. Thank you man! I am new in this python environment and I decided to try creating a blog haha crazy. Also started with the python crash course (book) but I am moving slow. You got a new subscriber here.
Hey thanks! Glad you're enjoying the videos! Good luck!
Just what I needed.... Great video Walter White😅
Glad I could help
So glad you're doing these tutorials, love your tkinter ones.
Thanks! Glad you're enjoying them!
You explained it very fluently
Thanks!
I like the way you react to comments
I try to :-)
Nice video
Thanks!
I like your energy. Well done!
Thanks!
Thank you friend. Its an awesome tutorial. Great job!
It is fine to find your streaming. I learn a lot about this series. Keep going. Many thanks.
Glad you're enjoying the videos!
It's showing that cannot import views from ablog (unknown location).
Yeap the video is amazing! Thanks.
You deserve 10m subscribers.
Great! Bold guys are the best in explanations! Can't wait next video!
Ha
@@Codemycom I'm serious! Ha!
@@deki90to :-)
This is awesome work! Briliant tutorial!
If anyone have issues with the permissions on windows. Try py instead of python
Thanks
In my case u had to run git as an administrator to get the permissions
Great undiluted teaching here. God bless you. This is thorough and total. Please can you include in your teaching how to build cooperative app that update members subscription monthly. I will be glad to hear more on this from you. Thanks for your teaching
God Bless you man
Thanks
This was really a good series and I look forward to the next episode. I think in the meantime ill make a website for my local dentist...
ha nice
Awesome video thank you
Glad you enjoyed it
Thank you for the great content, generosity and effort.
best wishes.
Many thanks!
Awesome blog app for beginners to learn upload next video tomorrow
Planning on it
Because we r under lockdown so we can learn more so i asked thank you
@@chethanmgowda8718 For sure.
Thank u! This video really helps me! I will finish this course! ㅎㅎ
Thanks a lot! Your videos are amazing
Thanks!
Thank you so much. Great tutorial. And could you show how to create simple library website with django.
Finally, Really cool i will return here from Machine Learning we love you sir
thanks!
Thank you porfessor❤
Welcome!
3:34 insted of "django-admin.py startproject ablog" you should go with "django-admin startproject ablog", maybe this was changed in the new version.
yes, it was changed in the latest version
Thanks for the quick guide tutorial. Please, need to debug some code, how can I drop my code?
paste it into chatgpt and ask it to debug your code
thanks for this i need this
Glad to help
Flask tutorial please! Nice video! 🔥
Coming back to flask very soon!
9:40 hi I am having a recursion error while I run the home page of the website
❤❤❤
Thanks
it would be nice if there was a video that shows how to add a search bar
noted
Thankx very much
Really cool. WIll you make Flask tutorials too?
Yep
After doing every thing and following your procedures my comments are not being displayed and i get no error in my development server.great tutorials by the way
weird
@@Codemycom i was using function based view so after changing my code to for form in comments.all since form is my context name in the context dict, the problem stopped. thanks a lot
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
Great vid!
Thanks!
Thank you so much for such excellent work you did. Many questions I had you have described here very deep. The last question only - how do you know which functions or methods inside objects or classes you use in Python/Django? It is clear - experience, but where to get info about? Thank you so much! Will continue watching your playlist.
I LOVE YOU SIR.
I'm on the third video right now.. this tutorial is 🔥🔥🔥..
I just have to quickly make this comment before I continue..
I wish I could subscribe on your page a thousand times..
Thank you so much sir.
0:01 You are god damn right!!! 👌
ha
Hi I was following your video but I got error around 17:00 when I reload
This is the error I have and I tried to find the problem on internet but I cannot figure it out
Can you help me out where I should check my code ??
?: (urls.E004) Your URL pattern 'pk-->primary key , when creating entry they get assigned idnum assign primary key' is invalid. Ensure that urlpatterns is a list of path() and/or re_path() instances.
HINT: Try removing the string 'pk-->primary key , when creating entry they get assigned idnum assign primary key'. The list of urlpatterns should not have a prefix string as the first element.
I just noticed the video I was following was #2.
But I still have problem on the part...
Please help me out I am totally stuck.....
thanks 🤩
Welcome!
Finally😍
:-)
"5 or 6 to 10 videos" Well.. that escalated quickly!
ha, right?!
Can you setup the whole process in the tutorial inside an IDE? what is this MINGW64 window you are using?
It's just a terminal. All IDE's have some sort of terminal.
Yeap! It's amazing emotions! Thanks!
Sure thing!
Thanks for using windows!!
Always!
Request u to build a blog using tornado framework in python
Sorry, I don't know tornado
amazing)
Thanks!
I feel like he's the teacher who says "you"re supposed to know this already" all the time
Not really sure why you'd think that, but ok man
@@Codemycom just a joke m8, loved the tutorial
@@darenpalmer1790 :-p
i m doing this blog 4 z 1st time .can i use cmd instead of bash terminal ??
Maybe, but why in the world would you want to?
Walter White went from breaking bad to building blogs
lol it's a living...
Sir, how do you have so different command prompt?
It's the Git Bash terminal, git-scn.com it's free
@@Codemycom Thank you Sir 🙂.
I actually instead of using source virt/Scripts/activate, I used .\venv\Scripts\activate and i worked.
ok
can we use PostgreSql and docker ? this can be creazy :)
You can do whatever you like :-p
and can we use prepared blog i have it if you want i can send you gmail?
Can you explain the model.form part in more detail :)
@@miraccan00 What's to explain? It's pretty basic...
Hi, Heisenberg can you please tell me how to differentiate between users. I want to be the only one to be able to post. But all other users can comment.
How Django installation is much easier than Ruby on Rails 😁
Right?!
Thank you!
You're welcome!
Exception Type: TemplateDoesNotExist .. I am getting this, can u help?
Did you create your template files?
For some reason, Django doesn't setup templates correctly from default.
In your settings.py file (the same one that is edited in the video), at the top where you see 'from pathlib import Path', make a new line under it and add 'import os'
Then, scroll down to where it says 'DIRS': [] and inside the brackets, add os.path.join(BASE_DIR, "templates")
That should make the templates work as expected. I don't know what this wasn't mentioned or why Django doesn't have this as default as it would be easier to remove it or just not use it than to remember to add this to every project.
@@DrHappybone That's new in the latest version of Django
@@Codemycom Good to know, thanks for the info. Do you happen to know why they removed it?
I've re-built my demo projects over and over because templates wouldn't work and I thought I did something wrong when it's actually missing DIR paths and the os import missing.
@@DrHappybone Apparently they think the new path thing is better *shrugs* all you need to do is add import os, your legacy code should work with just that.
The layout is prebuilt from Django?
How to modify that?
Keep watching
Hello Sir can u please tell me which IDE ur using for code ? Pycharm or VS code? Plz reply
Sublime text and the git bash terminal
Hi, Do you have course listed on your website?
Of course, the homepage of codemy.com is just a big list of all the courses. Click on any one to learn more about each one.
@@Codemycom Hi, Many thanks for your reply. I forgot a word in my my message. Do you have this blog course listed on your website? If yes, can you please share me the link? Also do you have a github repo where you share the source code for this as well as the courses listed on your website?
@@pavankumarakula2268 No, this is on youtube, not codemy.com
MSYS2 is working solution for Django on Windows. But pay attention Django creates windows style linefeed in files, which is not good if you make real production site. Better use real Linux inside virtual machine on Windows and do development from there.
Which country you are from?
USA
Can I use those codes for my personal website?
Sure
can you explain how to add the postdate of the article?
Pretty sure I do that in a later video...keep watching.
thanks or this video
Thanks for watching!
why i am not able to see "id" of the blog posted django admin panel?
you haven't coded it to display that
i request you to make news portal site by using free template from net and use django for backend
hi, this ahppend to me when i try to runserver i get a error message saying ModuleNotFoundError: No module named '_typeshed'
Why its showing the name as Posts even though we gave it as Post???
I'm still confused. Please help me out.....
Django pluralizes model names. I mean, there are likely more than one post, right?
@@Codemycom Ok so it means it detect the name and pluralize it if necessary right??
@@hariharanbalasubramanianpr4243 Yep
@@Codemycom thank you sir..
@@hariharanbalasubramanianpr4243 Sure thing
Actually, you wouldn't be able to delete the user until you've deleted every other row related to it. At least in a relational database
Not necessarily
Can you show us how to embed Google Adsense in Django
Just paste the code onto any page of your site where you want the ads to go.
I have done exactly that but my website is not getting approved
@@MitraElectronics your website has to have good content.
Ok I will try
Sir please can you check my website iblog-beta.herokuapp.com, I think I have enough content but still I am getting violations
Peter Mckinnon intro?
Is that another coder?
is this project multi user ?
yes, two people can watch the video at once :-P LOL
I tried activating the source but I get an error saying source is not recognized as an internal or external command. Any idea on why?
You likelyt didn't add Python to Path when you installed it.
How can you make your website avaible in internet plz anser me fast
Push it to a webhosting service like heroku
do i need to create anything before starting this i tried to get it working and it fails after source virt/Scripts/activate
nope, it should just work. Make sure Python is added to path (that's probably your problem)
@@Codemycom hey ive got a project already so i can run the python3 manage.py startapp blog. if so where do i continue the video from?
@@tomo_thats_me294 I couldn't begin to guess where you are in your current project. Why not just start a new one and follow along with the videos?
@@Codemycom I can't my projects complete. The blog is too be added to A new Web page. So python manage. py start app blog was ran first. Just wondering where to start from on the videos.
@@tomo_thats_me294 I don't know, try continuing from right there
im trying to commit my localhgost to my dns laravel php blog but my word doc isn't saving
huh?
bash is showing command not found for django-admin.py startproject ablog what should i do
Same command, but leave off the .py from django-admin.py
are you on windows???
Yes
Hi there, I have got some problems with Django's admin page, I am able to access localhost:8000(Django default page), but after I created the superuser and tries to go to admin page and login, it returns 'localhost refuse to connect'(and this in the Git terminal: "GET /admin HTTP/1.1" 301 0
"). Then the server just breaks with no return error messages. Could you please help with this problem? Thanks a lot.
Are you running the server in the terminal?
@@Codemycom yes, I solved it by updating the version of the python to 3.8
Thanks for the quick response
What should we need to type in password(again): to go to next line
Please do django e-commerce website
noted
@@Codemycom thank you
Hey John, When I type python manage.py startapp (name here), somehow it returns syntax error. How do I solve this? (Linux)
you did something wrong along the way
tried different names but they should work however it cant find the module of the app
You forgot to turn on your virtual environment