▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My RUclips 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.
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 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.
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 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.
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
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.....
@@jessehao590 I'm not familiar with that, but it's a complete professional looking cms and this is a blog that we're just coding...so probably completely different.
@@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?
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.
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.
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.
When I type in the source command it says it is not a cmdlet, script file, function.or operable program. I am on Window 8.1 typing in Windows PowerShell.
@@Codemycom But when I'm this way I face the problem. After edit in the settings template directory, I can solve this. By the way, your video is helpful for me and obviously, I'm going to enjoy this playlist and learn a lot.
@@imamhossain7143 raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: WSGI application 'A_Blog.wsgi.application' could not be loaded; Error importing module.
AttributeError: module 'django.db.models' has no attribute 'ModeL'. Did you mean: 'Model'? Please help Sublime Text Editor is auto-capitalizing the L's and Git Bash is rejecting them
@@Codemycom I'm not sure how one types l incorrectly and when in the video the L's are also capitalized I'm just not sure why my Git Bash is throwing an attribute error
@@matthewmajewski8318 No, they aren't capitalized in the video. Sublime sort of makes them look capitalized, but they are not. Look at line 5, max_Length. That L is capitalized. See how it is 90 degrees angular? the l in model is curved, sort of like a backwards j...that is lowercase.
Ok so my l’s are typed exactly like the video and yet when I try and runserver git bash gives me an Attribute error saying that there is not attribute ModeL would you be able to help me?
@@matthewmajewski4705 I've told you, your L's are wrong..they're still wrong. It is not ModeL, it's Model (lowercase l). I can't be any more specific than that.
@@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.
Great content thank you. It was a bit disturbing for me watching you looking at your keyboard for some keystroke but it look like your keyboard was hidden by something lol. No offense dude I like your content 😀
▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My RUclips 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 RUclips 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
very underrated channel...I would surely recommend my friends this..Thnx mate for putting this up on internet for free
Much appreciated!
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!
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
Really thank u heisenberg, im gonna watch the entire playlist !
Saludos from Chile
Heisenberg from Breaking Bad? jaajaj que gracioso eres :)
Decided to see learn from this series. and implement on what I have learned.
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!
This channel is really a goldmine
Thanks!
I am Japanese. I understand a little English, but it was very interesting and easy to understand!
glad you enjoyed it!
Great short tutorial. Django is typically safer and faster than WordPress.
For sure
You make django more beautiful!!!
Wow, thank you!
It's showing that cannot import views from ablog (unknown location).
Yeap the video is amazing! Thanks.
You deserve 10m subscribers.
It beneficial for us.
Thanks for this project, From India 🇮🇳
Welcome!
I'm very excited to complete watching this playlist :)
Enjoy!
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
It is fine to find your streaming. I learn a lot about this series. Keep going. Many thanks.
Glad you're enjoying the videos!
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
So glad you're doing these tutorials, love your tkinter ones.
Thanks! Glad you're enjoying them!
Just what I needed.... Great video Walter White😅
Glad I could help
A Heisenberg of coding:)). Nice job posting!
Thanks!
You explained it very fluently
Thanks!
Great! Bold guys are the best in explanations! Can't wait next video!
Ha
@@Codemycom I'm serious! Ha!
@@deki90to :-)
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
Nice video
Thanks!
Finally, Really cool i will return here from Machine Learning we love you sir
thanks!
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
I like the way you react to comments
I try to :-)
Thank you friend. Its an awesome tutorial. Great job!
I like your energy. Well done!
Thanks!
Thank you for the great content, generosity and effort.
best wishes.
Many 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.
God Bless you man
Thanks
❤❤❤
Thanks
Thank u! This video really helps me! I will finish this course! ㅎㅎ
Finally😍
:-)
Awesome video thank you
Glad you enjoyed it
Thanks a lot! Your videos are amazing
Thanks!
Thank you porfessor❤
Welcome!
thanks for this i need this
Glad to help
it would be nice if there was a video that shows how to add a search bar
noted
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.
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
Really cool. WIll you make Flask tutorials too?
Yep
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
Flask tutorial please! Nice video! 🔥
Coming back to flask very soon!
Thank you so much. Great tutorial. And could you show how to create simple library website with django.
Thankx very much
thanks 🤩
Welcome!
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.
0:01 You are god damn right!!! 👌
ha
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?
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 🙂.
Request u to build a blog using tornado framework in python
Sorry, I don't know tornado
Yeap! It's amazing emotions! Thanks!
Sure thing!
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...
The layout is prebuilt from Django?
How to modify that?
Keep watching
9:40 hi I am having a recursion error while I run the home page of the website
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 actually instead of using source virt/Scripts/activate, I used .\venv\Scripts\activate and i worked.
ok
Great vid!
Thanks!
How Django installation is much easier than Ruby on Rails 😁
Right?!
Can I use those codes for my personal website?
Sure
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.....
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
Thanks for using windows!!
Always!
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
What's the difference with Django CMS?
What's the difference between Django and what?
@@Codemycom www.django-cms.org/en/
@@jessehao590 I'm not familiar with that, but it's a complete professional looking cms and this is a blog that we're just coding...so probably completely different.
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
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.
amazing)
Thanks!
"5 or 6 to 10 videos" Well.. that escalated quickly!
ha, right?!
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.
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
is this project multi user ?
yes, two people can watch the video at once :-P LOL
can you explain how to add the postdate of the article?
Pretty sure I do that in a later video...keep watching.
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
why i am not able to see "id" of the blog posted django admin panel?
you haven't coded it to display that
thanks or this video
Thanks for watching!
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
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
When I type in the source command it says it is not a cmdlet, script file, function.or operable program. I am on Window 8.1 typing in Windows PowerShell.
I have source-1.2.0 installed
You didn't install python correctly. Reinstall it, check the "Add python 3.x to Path" button. Restart your terminal.
Walter White went from breaking bad to building blogs
lol it's a living...
Thank you!
You're welcome!
Without linking the templates folder how can you run the template file??
I think you skip this in the video.
Django just knows to use the template folder by default...there's nothing to do.
@@Codemycom But when I'm this way I face the problem. After edit in the settings template directory, I can solve this.
By the way, your video is helpful for me and obviously, I'm going to enjoy this playlist and learn a lot.
@@imamhossain7143 bro what to edit i am also facing the same problem
@@imamhossain7143 raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: WSGI application 'A_Blog.wsgi.application' could not be loaded; Error importing module.
Please do django e-commerce website
noted
@@Codemycom thank you
is this from scratch?
y
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
are you on windows???
Yes
AttributeError: module 'django.db.models' has no attribute 'ModeL'. Did you mean: 'Model'?
Please help Sublime Text Editor is auto-capitalizing the L's and Git Bash is rejecting them
No, sublime text does not auto-capitalize your L's...you're just typing them wrong.
@@Codemycom I'm not sure how one types l incorrectly and when in the video the L's are also capitalized I'm just not sure why my Git Bash is throwing an attribute error
@@matthewmajewski8318 No, they aren't capitalized in the video. Sublime sort of makes them look capitalized, but they are not. Look at line 5, max_Length. That L is capitalized. See how it is 90 degrees angular? the l in model is curved, sort of like a backwards j...that is lowercase.
Ok so my l’s are typed exactly like the video and yet when I try and runserver git bash gives me an Attribute error saying that there is not attribute ModeL would you be able to help me?
@@matthewmajewski4705 I've told you, your L's are wrong..they're still wrong. It is not ModeL, it's Model (lowercase l). I can't be any more specific than that.
i request you to make news portal site by using free template from net and use django for backend
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
tried different names but they should work however it cant find the module of the app
You forgot to turn on your virtual environment
Great content thank you. It was a bit disturbing for me watching you looking at your keyboard for some keystroke but it look like your keyboard was hidden by something lol. No offense dude I like your content 😀
That disturbs you? The microphone is in the way lol