▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My KZbin 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
@mermaidcodes4 жыл бұрын
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 !
@Codemycom4 жыл бұрын
@@mermaidcodes I'm making it as we go, so I can't show you before hand.
@shreyasdas51304 жыл бұрын
This channel is underrated. It needs atleast 1 mil.
@Codemycom4 жыл бұрын
Thanks! I agree ;-) tell your friends!
@almuhimen80234 жыл бұрын
Lol
@plusk3434 жыл бұрын
@@Codemycom Hey! I think you should exhibit your tutoring skills on freecodecamp.org 's KZbin channel. You are gonna get a lotta publicity there!
@MaiFast4 жыл бұрын
Yes, agree
@MaiFast4 жыл бұрын
@@plusk343 he already have courses on FCC
@smishra63783 жыл бұрын
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.
@Codemycom3 жыл бұрын
Glad you enjoyed them!
@lachlangray81203 жыл бұрын
The pace of this is perfect! Not at all bogged down with simple steps, but also well elaborated
@Codemycom3 жыл бұрын
Thanks, glad you’re enjoying it
@phronessys4 жыл бұрын
Really thank u heisenberg, im gonna watch the entire playlist ! Saludos from Chile
@maihuire114 жыл бұрын
Heisenberg from Breaking Bad? jaajaj que gracioso eres :)
@joyhossain14514 жыл бұрын
Seriously you deserve 100M subscribers. Love from Bangladesh.
@Codemycom4 жыл бұрын
Thanks! Tell your friends ;-)
@abdullashafi5803 жыл бұрын
Here too
@theo_riveroooo3 жыл бұрын
i'm at #19 and this course definitely worth your time
@Codemycom3 жыл бұрын
Glad you think so!
@bbb42324 жыл бұрын
This channel is really a goldmine
@Codemycom4 жыл бұрын
Thanks!
@rohitvlogs90510 ай бұрын
It beneficial for us. Thanks for this project, From India 🇮🇳
@Codemycom10 ай бұрын
Welcome!
@iKostanCom4 жыл бұрын
5 to 10 videos... I see 34 already and it seems like you are not going to stop there. Thanks for the tutorials!
@Codemycom4 жыл бұрын
Ha yeah I tend to get carried away
@helloiammahdi4 жыл бұрын
very underrated channel...I would surely recommend my friends this..Thnx mate for putting this up on internet for free
@Codemycom4 жыл бұрын
Much appreciated!
@bloggerpinnacle21564 жыл бұрын
Great short tutorial. Django is typically safer and faster than WordPress.
@Codemycom4 жыл бұрын
For sure
@meenamotiramani52444 жыл бұрын
You make django more beautiful!!!
@Codemycom4 жыл бұрын
Wow, thank you!
@Sulaiman-vp1fi2 жыл бұрын
I'm very excited to complete watching this playlist :)
@Codemycom2 жыл бұрын
Enjoy!
@スイ-d7d4 жыл бұрын
I am Japanese. I understand a little English, but it was very interesting and easy to understand!
@Codemycom4 жыл бұрын
glad you enjoyed it!
@javieralcantara51144 жыл бұрын
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.
@Codemycom4 жыл бұрын
Hey thanks! Glad you're enjoying the videos! Good luck!
@jamonserrano29064 жыл бұрын
A Heisenberg of coding:)). Nice job posting!
@Codemycom4 жыл бұрын
Thanks!
@pandurangasharmaramaka2 жыл бұрын
Thank you friend. Its an awesome tutorial. Great job!
@sabrinapyles5633 жыл бұрын
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.
@Codemycom3 жыл бұрын
Glad you like them!
@ninjatribble79614 жыл бұрын
So glad you're doing these tutorials, love your tkinter ones.
@Codemycom4 жыл бұрын
Thanks! Glad you're enjoying them!
@kushalappaca53244 жыл бұрын
Just what I needed.... Great video Walter White😅
@Codemycom4 жыл бұрын
Glad I could help
@jayhu60754 жыл бұрын
It is fine to find your streaming. I learn a lot about this series. Keep going. Many thanks.
@Codemycom4 жыл бұрын
Glad you're enjoying the videos!
@souravjha21464 жыл бұрын
You explained it very fluently
@Codemycom4 жыл бұрын
Thanks!
@mekkismart71984 жыл бұрын
Nice video
@Codemycom4 жыл бұрын
Thanks!
@dehindeikudaisi3 жыл бұрын
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
@jetshot61334 жыл бұрын
I like the way you react to comments
@Codemycom4 жыл бұрын
I try to :-)
@mrgeorge99734 жыл бұрын
It's showing that cannot import views from ablog (unknown location). Yeap the video is amazing! Thanks. You deserve 10m subscribers.
@robh91844 жыл бұрын
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...
@Codemycom4 жыл бұрын
ha nice
@SmartC20073 жыл бұрын
I like your energy. Well done!
@Codemycom3 жыл бұрын
Thanks!
@deki90to4 жыл бұрын
Great! Bold guys are the best in explanations! Can't wait next video!
@Codemycom4 жыл бұрын
Ha
@deki90to4 жыл бұрын
@@Codemycom I'm serious! Ha!
@Codemycom4 жыл бұрын
@@deki90to :-)
@윤유상-n8b4 жыл бұрын
Thank u! This video really helps me! I will finish this course! ㅎㅎ
@neelanjanmukherji4 жыл бұрын
9:40 hi I am having a recursion error while I run the home page of the website
@youssefbenabed28173 жыл бұрын
Thank you for the great content, generosity and effort. best wishes.
@Codemycom3 жыл бұрын
Many thanks!
@jihyehong73714 жыл бұрын
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.....
@bigpx4124 жыл бұрын
This is awesome work! Briliant tutorial! If anyone have issues with the permissions on windows. Try py instead of python
@Codemycom4 жыл бұрын
Thanks
@lazaregiorgobiani24614 жыл бұрын
In my case u had to run git as an administrator to get the permissions
@james-marionwoke77485 ай бұрын
Thanks for the quick guide tutorial. Please, need to debug some code, how can I drop my code?
@Codemycom5 ай бұрын
paste it into chatgpt and ask it to debug your code
@heroCode204 ай бұрын
Thank you porfessor❤
@Codemycom4 ай бұрын
Welcome!
@Elizabeth-wh7go4 жыл бұрын
Thanks a lot! Your videos are amazing
@Codemycom4 жыл бұрын
Thanks!
@mohamadrezamotaghi74273 жыл бұрын
God Bless you man
@Codemycom3 жыл бұрын
Thanks
@Confusedcapybara87724 жыл бұрын
Awesome video thank you
@Codemycom4 жыл бұрын
Glad you enjoyed it
@JimZarasOfficial Жыл бұрын
Can you setup the whole process in the tutorial inside an IDE? what is this MINGW64 window you are using?
@Codemycom Жыл бұрын
It's just a terminal. All IDE's have some sort of terminal.
@sarangkkl2143 жыл бұрын
thanks for this i need this
@Codemycom3 жыл бұрын
Glad to help
@codingstudio88653 жыл бұрын
Sir, how do you have so different command prompt?
@Codemycom3 жыл бұрын
It's the Git Bash terminal, git-scn.com it's free
@codingstudio88653 жыл бұрын
@@Codemycom Thank you Sir 🙂.
@northner8012 жыл бұрын
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.
@Codemycom2 жыл бұрын
yes, it was changed in the latest version
@TechWithSabri4 жыл бұрын
Finally, Really cool i will return here from Machine Learning we love you sir
@Codemycom4 жыл бұрын
thanks!
@scipiopersicus19282 ай бұрын
Thankx very much
@justineetaku94794 жыл бұрын
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
@chethanmgowda87184 жыл бұрын
Awesome blog app for beginners to learn upload next video tomorrow
@Codemycom4 жыл бұрын
Planning on it
@chethanmgowda87184 жыл бұрын
Because we r under lockdown so we can learn more so i asked thank you
@Codemycom4 жыл бұрын
@@chethanmgowda8718 For sure.
@victorpinasarnault91353 жыл бұрын
The layout is prebuilt from Django? How to modify that?
@Codemycom3 жыл бұрын
Keep watching
@mrtech79403 жыл бұрын
i m doing this blog 4 z 1st time .can i use cmd instead of bash terminal ??
@Codemycom3 жыл бұрын
Maybe, but why in the world would you want to?
@maheshmokashe68242 жыл бұрын
Hello Sir can u please tell me which IDE ur using for code ? Pycharm or VS code? Plz reply
@Codemycom2 жыл бұрын
Sublime text and the git bash terminal
@poojitharavuri29433 жыл бұрын
Exception Type: TemplateDoesNotExist .. I am getting this, can u help?
@Codemycom3 жыл бұрын
Did you create your template files?
@DrHappybone3 жыл бұрын
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.
@Codemycom3 жыл бұрын
@@DrHappybone That's new in the latest version of Django
@DrHappybone3 жыл бұрын
@@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.
@Codemycom3 жыл бұрын
@@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.
@behzodmusurmonqulov2 жыл бұрын
Thank you so much. Great tutorial. And could you show how to create simple library website with django.
@kiruagon18393 жыл бұрын
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.
@marckhycs3194 жыл бұрын
Finally😍
@Codemycom4 жыл бұрын
:-)
@nutrinoflash61328 ай бұрын
why i am not able to see "id" of the blog posted django admin panel?
@Codemycom8 ай бұрын
you haven't coded it to display that
@devrimsarikaya11 ай бұрын
thanks 🤩
@Codemycom11 ай бұрын
Welcome!
@danielscheurwater55004 жыл бұрын
Great vid!
@Codemycom4 жыл бұрын
Thanks!
@heroCode204 ай бұрын
❤❤❤
@Codemycom4 ай бұрын
Thanks
@juanortega68373 жыл бұрын
hi, this ahppend to me when i try to runserver i get a error message saying ModuleNotFoundError: No module named '_typeshed'
@chukwudimotanya30322 жыл бұрын
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?
@Codemycom2 жыл бұрын
You likelyt didn't add Python to Path when you installed it.
@pavankumarakula22683 жыл бұрын
Hi, Do you have course listed on your website?
@Codemycom3 жыл бұрын
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.
@pavankumarakula22683 жыл бұрын
@@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?
@Codemycom3 жыл бұрын
@@pavankumarakula2268 No, this is on youtube, not codemy.com
@gamerstrim4 жыл бұрын
Yeap! It's amazing emotions! Thanks!
@Codemycom4 жыл бұрын
Sure thing!
@rakeshthakur83844 жыл бұрын
Which country you are from?
@Codemycom4 жыл бұрын
USA
@bellovictor62394 жыл бұрын
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
@Codemycom4 жыл бұрын
weird
@bellovictor62394 жыл бұрын
@@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
@hariharanbalasubramanianpr42434 жыл бұрын
Why its showing the name as Posts even though we gave it as Post??? I'm still confused. Please help me out.....
@Codemycom4 жыл бұрын
Django pluralizes model names. I mean, there are likely more than one post, right?
@hariharanbalasubramanianpr42434 жыл бұрын
@@Codemycom Ok so it means it detect the name and pluralize it if necessary right??
@Codemycom4 жыл бұрын
@@hariharanbalasubramanianpr4243 Yep
@hariharanbalasubramanianpr42434 жыл бұрын
@@Codemycom thank you sir..
@Codemycom4 жыл бұрын
@@hariharanbalasubramanianpr4243 Sure thing
@YarosMallorca4 жыл бұрын
Flask tutorial please! Nice video! 🔥
@Codemycom4 жыл бұрын
Coming back to flask very soon!
@jessehao5904 жыл бұрын
What's the difference with Django CMS?
@Codemycom4 жыл бұрын
What's the difference between Django and what?
@jessehao5904 жыл бұрын
@@Codemycom www.django-cms.org/en/
@Codemycom4 жыл бұрын
@@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.
@DimiEG4 жыл бұрын
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.
@thewhiteboardyt5 ай бұрын
im trying to commit my localhgost to my dns laravel php blog but my word doc isn't saving
@Codemycom5 ай бұрын
huh?
@joyhossain14514 жыл бұрын
Can I use those codes for my personal website?
@Codemycom4 жыл бұрын
Sure
@shdigital14864 жыл бұрын
can you explain how to add the postdate of the article?
@Codemycom4 жыл бұрын
Pretty sure I do that in a later video...keep watching.
@miraccan004 жыл бұрын
can we use PostgreSql and docker ? this can be creazy :)
@Codemycom4 жыл бұрын
You can do whatever you like :-p
@miraccan004 жыл бұрын
and can we use prepared blog i have it if you want i can send you gmail?
@miraccan004 жыл бұрын
Can you explain the model.form part in more detail :)
@Codemycom4 жыл бұрын
@@miraccan00 What's to explain? It's pretty basic...
@karmnshawki12263 жыл бұрын
is this project multi user ?
@Codemycom3 жыл бұрын
yes, two people can watch the video at once :-P LOL
@billstrain14 жыл бұрын
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.
@billstrain14 жыл бұрын
I have source-1.2.0 installed
@Codemycom4 жыл бұрын
You didn't install python correctly. Reinstall it, check the "Add python 3.x to Path" button. Restart your terminal.
@xatar60463 жыл бұрын
tried different names but they should work however it cant find the module of the app
@Codemycom3 жыл бұрын
You forgot to turn on your virtual environment
@hdhxghd75713 жыл бұрын
How can you make your website avaible in internet plz anser me fast
@Codemycom3 жыл бұрын
Push it to a webhosting service like heroku
@zhangtimmy56963 жыл бұрын
Hey John, When I type python manage.py startapp (name here), somehow it returns syntax error. How do I solve this? (Linux)
@Codemycom3 жыл бұрын
you did something wrong along the way
@DimiEG4 жыл бұрын
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.
@olakunledaniel2561 Жыл бұрын
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.
@programit71553 жыл бұрын
0:01 You are god damn right!!! 👌
@Codemycom3 жыл бұрын
ha
@krushnamohod886111 ай бұрын
bash is showing command not found for django-admin.py startproject ablog what should i do
@Codemycom11 ай бұрын
Same command, but leave off the .py from django-admin.py
@Basava242 жыл бұрын
What should we need to type in password(again): to go to next line
@kerryliu49794 жыл бұрын
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.
@Codemycom4 жыл бұрын
Are you running the server in the terminal?
@kerryliu49794 жыл бұрын
@@Codemycom yes, I solved it by updating the version of the python to 3.8 Thanks for the quick response
@nickolaimiller32774 жыл бұрын
my code is the same as yours: def __dir__(self): return self.title + ' | ' + str(self.author) I get the following error on PyCharm: Class 'CharField' does not define '__add__' so the '+' operator cannot be used on its instances And on the website it just has the post called "Post object (1)"
@nickolaimiller32774 жыл бұрын
I then changed it to: def __dir__(self): return str(self.title ) + ' | ' + str(self.author) And there is no error on PyCharm, yet on the website the name is still "Post object (1)" I also saved and migrated again but it said "No changes detected"
@nickolaimiller32774 жыл бұрын
Final solution in case anyone needs it was: def __dir__(self): return '{} | {}'.format(self.title, self.author)
@NeoxX1124 жыл бұрын
"5 or 6 to 10 videos" Well.. that escalated quickly!
@Codemycom4 жыл бұрын
ha, right?!
@jonathanbilesi31704 жыл бұрын
i've created my models like in the video but i'm faced with this error from django.contrib.auth import user ImportError: cannot import name 'user' from 'django.contrib.auth' (C:\blog\virtual\lib\site-packages\django\contrib\auth\__init__.py)
@Codemycom4 жыл бұрын
Capital U in user
@tomo_thats_me2943 жыл бұрын
do i need to create anything before starting this i tried to get it working and it fails after source virt/Scripts/activate
@Codemycom3 жыл бұрын
nope, it should just work. Make sure Python is added to path (that's probably your problem)
@tomo_thats_me2943 жыл бұрын
@@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?
@Codemycom3 жыл бұрын
@@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?
@tomo_thats_me2943 жыл бұрын
@@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.
@Codemycom3 жыл бұрын
@@tomo_thats_me294 I don't know, try continuing from right there
@asher73324 жыл бұрын
$ python -m venv virt bash: /c/Users/Admin/AppData/Local/Microsoft/WindowsApps/python: Permission denied error? how do i fix this
@Codemycom4 жыл бұрын
Reinstall python, but this time check the "Add Python 3.8 to Path" box during installation. Then restart git bash.
@athishga30963 жыл бұрын
On giving " django-admin.py startproject ablog ", it shows " RemovedInDjango40Warning: django-admin.py is deprecated in favor of django-admin " Could u help me to sort this out...?
@Codemycom3 жыл бұрын
There's nothing to sort out. It still works, its just deprecated
@shamimahammadrasel50164 жыл бұрын
are you on windows???
@Codemycom4 жыл бұрын
Yes
@alwinmugiyantoro86514 жыл бұрын
I can not create superuser with 'winpty python manage.py createsuperuser' the result is always like this: 'winpty' is not recognized as an internal or external command, operable program or batch file how do i fix this ? thank you
@Codemycom4 жыл бұрын
Are you using git bash? If not, leave off the winpty
@alwinmugiyantoro86514 жыл бұрын
@@Codemycom solved thank you very much
@TechSimplified194 жыл бұрын
it would be nice if there was a video that shows how to add a search bar
@Codemycom4 жыл бұрын
noted
@shaxzod64854 жыл бұрын
amazing)
@Codemycom4 жыл бұрын
Thanks!
@NocturneSMT34 жыл бұрын
Thanks for using windows!!
@Codemycom4 жыл бұрын
Always!
@devmikka4 жыл бұрын
Really cool. WIll you make Flask tutorials too?
@Codemycom4 жыл бұрын
Yep
@swapnanilchakraborty30163 жыл бұрын
is this from scratch?
@theo_riveroooo3 жыл бұрын
y
@matthewmajewski83182 жыл бұрын
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
@Codemycom2 жыл бұрын
No, sublime text does not auto-capitalize your L's...you're just typing them wrong.
@matthewmajewski83182 жыл бұрын
@@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
@Codemycom2 жыл бұрын
@@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.
@matthewmajewski47052 жыл бұрын
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?
@Codemycom2 жыл бұрын
@@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.
@verdepuntojava64023 жыл бұрын
I actually instead of using source virt/Scripts/activate, I used .\venv\Scripts\activate and i worked.
@Codemycom3 жыл бұрын
ok
@vishalmishra19374 жыл бұрын
how can we customize user rather than default fields . i wanna just use name and password .could u help codemy how to do it
@Codemycom4 жыл бұрын
Yeah check the playlist, did a whole video on that.
@JeSus-hl6zj4 жыл бұрын
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