Create A Simple Blog With Python and Django - Django Blog #1

  Рет қаралды 237,819

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 336
@Codemycom
@Codemycom 4 жыл бұрын
▶️ 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
@mermaidcodes
@mermaidcodes 4 жыл бұрын
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 !
@Codemycom
@Codemycom 4 жыл бұрын
@@mermaidcodes I'm making it as we go, so I can't show you before hand.
@shreyasdas5130
@shreyasdas5130 4 жыл бұрын
This channel is underrated. It needs atleast 1 mil.
@Codemycom
@Codemycom 4 жыл бұрын
Thanks! I agree ;-) tell your friends!
@almuhimen8023
@almuhimen8023 4 жыл бұрын
Lol
@plusk343
@plusk343 4 жыл бұрын
@@Codemycom Hey! I think you should exhibit your tutoring skills on freecodecamp.org 's KZbin channel. You are gonna get a lotta publicity there!
@MaiFast
@MaiFast 4 жыл бұрын
Yes, agree
@MaiFast
@MaiFast 4 жыл бұрын
@@plusk343 he already have courses on FCC
@smishra6378
@smishra6378 3 жыл бұрын
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.
@Codemycom
@Codemycom 3 жыл бұрын
Glad you enjoyed them!
@lachlangray8120
@lachlangray8120 3 жыл бұрын
The pace of this is perfect! Not at all bogged down with simple steps, but also well elaborated
@Codemycom
@Codemycom 3 жыл бұрын
Thanks, glad you’re enjoying it
@phronessys
@phronessys 4 жыл бұрын
Really thank u heisenberg, im gonna watch the entire playlist ! Saludos from Chile
@maihuire11
@maihuire11 4 жыл бұрын
Heisenberg from Breaking Bad? jaajaj que gracioso eres :)
@joyhossain1451
@joyhossain1451 4 жыл бұрын
Seriously you deserve 100M subscribers. Love from Bangladesh.
@Codemycom
@Codemycom 4 жыл бұрын
Thanks! Tell your friends ;-)
@abdullashafi580
@abdullashafi580 3 жыл бұрын
Here too
@theo_riveroooo
@theo_riveroooo 3 жыл бұрын
i'm at #19 and this course definitely worth your time
@Codemycom
@Codemycom 3 жыл бұрын
Glad you think so!
@bbb4232
@bbb4232 4 жыл бұрын
This channel is really a goldmine
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@rohitvlogs905
@rohitvlogs905 10 ай бұрын
It beneficial for us. Thanks for this project, From India 🇮🇳
@Codemycom
@Codemycom 10 ай бұрын
Welcome!
@iKostanCom
@iKostanCom 4 жыл бұрын
5 to 10 videos... I see 34 already and it seems like you are not going to stop there. Thanks for the tutorials!
@Codemycom
@Codemycom 4 жыл бұрын
Ha yeah I tend to get carried away
@helloiammahdi
@helloiammahdi 4 жыл бұрын
very underrated channel...I would surely recommend my friends this..Thnx mate for putting this up on internet for free
@Codemycom
@Codemycom 4 жыл бұрын
Much appreciated!
@bloggerpinnacle2156
@bloggerpinnacle2156 4 жыл бұрын
Great short tutorial. Django is typically safer and faster than WordPress.
@Codemycom
@Codemycom 4 жыл бұрын
For sure
@meenamotiramani5244
@meenamotiramani5244 4 жыл бұрын
You make django more beautiful!!!
@Codemycom
@Codemycom 4 жыл бұрын
Wow, thank you!
@Sulaiman-vp1fi
@Sulaiman-vp1fi 2 жыл бұрын
I'm very excited to complete watching this playlist :)
@Codemycom
@Codemycom 2 жыл бұрын
Enjoy!
@スイ-d7d
@スイ-d7d 4 жыл бұрын
I am Japanese. I understand a little English, but it was very interesting and easy to understand!
@Codemycom
@Codemycom 4 жыл бұрын
glad you enjoyed it!
@javieralcantara5114
@javieralcantara5114 4 жыл бұрын
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.
@Codemycom
@Codemycom 4 жыл бұрын
Hey thanks! Glad you're enjoying the videos! Good luck!
@jamonserrano2906
@jamonserrano2906 4 жыл бұрын
A Heisenberg of coding:)). Nice job posting!
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@pandurangasharmaramaka
@pandurangasharmaramaka 2 жыл бұрын
Thank you friend. Its an awesome tutorial. Great job!
@sabrinapyles563
@sabrinapyles563 3 жыл бұрын
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.
@Codemycom
@Codemycom 3 жыл бұрын
Glad you like them!
@ninjatribble7961
@ninjatribble7961 4 жыл бұрын
So glad you're doing these tutorials, love your tkinter ones.
@Codemycom
@Codemycom 4 жыл бұрын
Thanks! Glad you're enjoying them!
@kushalappaca5324
@kushalappaca5324 4 жыл бұрын
Just what I needed.... Great video Walter White😅
@Codemycom
@Codemycom 4 жыл бұрын
Glad I could help
@jayhu6075
@jayhu6075 4 жыл бұрын
It is fine to find your streaming. I learn a lot about this series. Keep going. Many thanks.
@Codemycom
@Codemycom 4 жыл бұрын
Glad you're enjoying the videos!
@souravjha2146
@souravjha2146 4 жыл бұрын
You explained it very fluently
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@mekkismart7198
@mekkismart7198 4 жыл бұрын
Nice video
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@dehindeikudaisi
@dehindeikudaisi 3 жыл бұрын
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
@jetshot6133
@jetshot6133 4 жыл бұрын
I like the way you react to comments
@Codemycom
@Codemycom 4 жыл бұрын
I try to :-)
@mrgeorge9973
@mrgeorge9973 4 жыл бұрын
It's showing that cannot import views from ablog (unknown location). Yeap the video is amazing! Thanks. You deserve 10m subscribers.
@robh9184
@robh9184 4 жыл бұрын
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...
@Codemycom
@Codemycom 4 жыл бұрын
ha nice
@SmartC2007
@SmartC2007 3 жыл бұрын
I like your energy. Well done!
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@deki90to
@deki90to 4 жыл бұрын
Great! Bold guys are the best in explanations! Can't wait next video!
@Codemycom
@Codemycom 4 жыл бұрын
Ha
@deki90to
@deki90to 4 жыл бұрын
@@Codemycom I'm serious! Ha!
@Codemycom
@Codemycom 4 жыл бұрын
@@deki90to :-)
@윤유상-n8b
@윤유상-n8b 4 жыл бұрын
Thank u! This video really helps me! I will finish this course! ㅎㅎ
@neelanjanmukherji
@neelanjanmukherji 4 жыл бұрын
9:40 hi I am having a recursion error while I run the home page of the website
@youssefbenabed2817
@youssefbenabed2817 3 жыл бұрын
Thank you for the great content, generosity and effort. best wishes.
@Codemycom
@Codemycom 3 жыл бұрын
Many thanks!
@jihyehong7371
@jihyehong7371 4 жыл бұрын
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.....
@bigpx412
@bigpx412 4 жыл бұрын
This is awesome work! Briliant tutorial! If anyone have issues with the permissions on windows. Try py instead of python
@Codemycom
@Codemycom 4 жыл бұрын
Thanks
@lazaregiorgobiani2461
@lazaregiorgobiani2461 4 жыл бұрын
In my case u had to run git as an administrator to get the permissions
@james-marionwoke7748
@james-marionwoke7748 5 ай бұрын
Thanks for the quick guide tutorial. Please, need to debug some code, how can I drop my code?
@Codemycom
@Codemycom 5 ай бұрын
paste it into chatgpt and ask it to debug your code
@heroCode20
@heroCode20 4 ай бұрын
Thank you porfessor❤
@Codemycom
@Codemycom 4 ай бұрын
Welcome!
@Elizabeth-wh7go
@Elizabeth-wh7go 4 жыл бұрын
Thanks a lot! Your videos are amazing
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@mohamadrezamotaghi7427
@mohamadrezamotaghi7427 3 жыл бұрын
God Bless you man
@Codemycom
@Codemycom 3 жыл бұрын
Thanks
@Confusedcapybara8772
@Confusedcapybara8772 4 жыл бұрын
Awesome video thank you
@Codemycom
@Codemycom 4 жыл бұрын
Glad you enjoyed it
@JimZarasOfficial
@JimZarasOfficial Жыл бұрын
Can you setup the whole process in the tutorial inside an IDE? what is this MINGW64 window you are using?
@Codemycom
@Codemycom Жыл бұрын
It's just a terminal. All IDE's have some sort of terminal.
@sarangkkl214
@sarangkkl214 3 жыл бұрын
thanks for this i need this
@Codemycom
@Codemycom 3 жыл бұрын
Glad to help
@codingstudio8865
@codingstudio8865 3 жыл бұрын
Sir, how do you have so different command prompt?
@Codemycom
@Codemycom 3 жыл бұрын
It's the Git Bash terminal, git-scn.com it's free
@codingstudio8865
@codingstudio8865 3 жыл бұрын
@@Codemycom Thank you Sir 🙂.
@northner801
@northner801 2 жыл бұрын
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.
@Codemycom
@Codemycom 2 жыл бұрын
yes, it was changed in the latest version
@TechWithSabri
@TechWithSabri 4 жыл бұрын
Finally, Really cool i will return here from Machine Learning we love you sir
@Codemycom
@Codemycom 4 жыл бұрын
thanks!
@scipiopersicus1928
@scipiopersicus1928 2 ай бұрын
Thankx very much
@justineetaku9479
@justineetaku9479 4 жыл бұрын
Thank you Codemy for the tutorials, finding challenges in understanding how to override context; something like get_context_data.., context[' '] = ' ..'
@chethanmgowda8718
@chethanmgowda8718 4 жыл бұрын
Awesome blog app for beginners to learn upload next video tomorrow
@Codemycom
@Codemycom 4 жыл бұрын
Planning on it
@chethanmgowda8718
@chethanmgowda8718 4 жыл бұрын
Because we r under lockdown so we can learn more so i asked thank you
@Codemycom
@Codemycom 4 жыл бұрын
@@chethanmgowda8718 For sure.
@victorpinasarnault9135
@victorpinasarnault9135 3 жыл бұрын
The layout is prebuilt from Django? How to modify that?
@Codemycom
@Codemycom 3 жыл бұрын
Keep watching
@mrtech7940
@mrtech7940 3 жыл бұрын
i m doing this blog 4 z 1st time .can i use cmd instead of bash terminal ??
@Codemycom
@Codemycom 3 жыл бұрын
Maybe, but why in the world would you want to?
@maheshmokashe6824
@maheshmokashe6824 2 жыл бұрын
Hello Sir can u please tell me which IDE ur using for code ? Pycharm or VS code? Plz reply
@Codemycom
@Codemycom 2 жыл бұрын
Sublime text and the git bash terminal
@poojitharavuri2943
@poojitharavuri2943 3 жыл бұрын
Exception Type: TemplateDoesNotExist .. I am getting this, can u help?
@Codemycom
@Codemycom 3 жыл бұрын
Did you create your template files?
@DrHappybone
@DrHappybone 3 жыл бұрын
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
@Codemycom 3 жыл бұрын
@@DrHappybone That's new in the latest version of Django
@DrHappybone
@DrHappybone 3 жыл бұрын
@@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.
@Codemycom
@Codemycom 3 жыл бұрын
@@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.
@behzodmusurmonqulov
@behzodmusurmonqulov 2 жыл бұрын
Thank you so much. Great tutorial. And could you show how to create simple library website with django.
@kiruagon1839
@kiruagon1839 3 жыл бұрын
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.
@marckhycs319
@marckhycs319 4 жыл бұрын
Finally😍
@Codemycom
@Codemycom 4 жыл бұрын
:-)
@nutrinoflash6132
@nutrinoflash6132 8 ай бұрын
why i am not able to see "id" of the blog posted django admin panel?
@Codemycom
@Codemycom 8 ай бұрын
you haven't coded it to display that
@devrimsarikaya
@devrimsarikaya 11 ай бұрын
thanks 🤩
@Codemycom
@Codemycom 11 ай бұрын
Welcome!
@danielscheurwater5500
@danielscheurwater5500 4 жыл бұрын
Great vid!
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@heroCode20
@heroCode20 4 ай бұрын
❤❤❤
@Codemycom
@Codemycom 4 ай бұрын
Thanks
@juanortega6837
@juanortega6837 3 жыл бұрын
hi, this ahppend to me when i try to runserver i get a error message saying ModuleNotFoundError: No module named '_typeshed'
@chukwudimotanya3032
@chukwudimotanya3032 2 жыл бұрын
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?
@Codemycom
@Codemycom 2 жыл бұрын
You likelyt didn't add Python to Path when you installed it.
@pavankumarakula2268
@pavankumarakula2268 3 жыл бұрын
Hi, Do you have course listed on your website?
@Codemycom
@Codemycom 3 жыл бұрын
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.
@pavankumarakula2268
@pavankumarakula2268 3 жыл бұрын
@@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?
@Codemycom
@Codemycom 3 жыл бұрын
@@pavankumarakula2268 No, this is on youtube, not codemy.com
@gamerstrim
@gamerstrim 4 жыл бұрын
Yeap! It's amazing emotions! Thanks!
@Codemycom
@Codemycom 4 жыл бұрын
Sure thing!
@rakeshthakur8384
@rakeshthakur8384 4 жыл бұрын
Which country you are from?
@Codemycom
@Codemycom 4 жыл бұрын
USA
@bellovictor6239
@bellovictor6239 4 жыл бұрын
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
@Codemycom 4 жыл бұрын
weird
@bellovictor6239
@bellovictor6239 4 жыл бұрын
@@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
@hariharanbalasubramanianpr4243
@hariharanbalasubramanianpr4243 4 жыл бұрын
Why its showing the name as Posts even though we gave it as Post??? I'm still confused. Please help me out.....
@Codemycom
@Codemycom 4 жыл бұрын
Django pluralizes model names. I mean, there are likely more than one post, right?
@hariharanbalasubramanianpr4243
@hariharanbalasubramanianpr4243 4 жыл бұрын
@@Codemycom Ok so it means it detect the name and pluralize it if necessary right??
@Codemycom
@Codemycom 4 жыл бұрын
@@hariharanbalasubramanianpr4243 Yep
@hariharanbalasubramanianpr4243
@hariharanbalasubramanianpr4243 4 жыл бұрын
@@Codemycom thank you sir..
@Codemycom
@Codemycom 4 жыл бұрын
@@hariharanbalasubramanianpr4243 Sure thing
@YarosMallorca
@YarosMallorca 4 жыл бұрын
Flask tutorial please! Nice video! 🔥
@Codemycom
@Codemycom 4 жыл бұрын
Coming back to flask very soon!
@jessehao590
@jessehao590 4 жыл бұрын
What's the difference with Django CMS?
@Codemycom
@Codemycom 4 жыл бұрын
What's the difference between Django and what?
@jessehao590
@jessehao590 4 жыл бұрын
@@Codemycom www.django-cms.org/en/
@Codemycom
@Codemycom 4 жыл бұрын
@@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.
@DimiEG
@DimiEG 4 жыл бұрын
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.
@thewhiteboardyt
@thewhiteboardyt 5 ай бұрын
im trying to commit my localhgost to my dns laravel php blog but my word doc isn't saving
@Codemycom
@Codemycom 5 ай бұрын
huh?
@joyhossain1451
@joyhossain1451 4 жыл бұрын
Can I use those codes for my personal website?
@Codemycom
@Codemycom 4 жыл бұрын
Sure
@shdigital1486
@shdigital1486 4 жыл бұрын
can you explain how to add the postdate of the article?
@Codemycom
@Codemycom 4 жыл бұрын
Pretty sure I do that in a later video...keep watching.
@miraccan00
@miraccan00 4 жыл бұрын
can we use PostgreSql and docker ? this can be creazy :)
@Codemycom
@Codemycom 4 жыл бұрын
You can do whatever you like :-p
@miraccan00
@miraccan00 4 жыл бұрын
and can we use prepared blog i have it if you want i can send you gmail?
@miraccan00
@miraccan00 4 жыл бұрын
Can you explain the model.form part in more detail :)
@Codemycom
@Codemycom 4 жыл бұрын
@@miraccan00 What's to explain? It's pretty basic...
@karmnshawki1226
@karmnshawki1226 3 жыл бұрын
is this project multi user ?
@Codemycom
@Codemycom 3 жыл бұрын
yes, two people can watch the video at once :-P LOL
@billstrain1
@billstrain1 4 жыл бұрын
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.
@billstrain1
@billstrain1 4 жыл бұрын
I have source-1.2.0 installed
@Codemycom
@Codemycom 4 жыл бұрын
You didn't install python correctly. Reinstall it, check the "Add python 3.x to Path" button. Restart your terminal.
@xatar6046
@xatar6046 3 жыл бұрын
tried different names but they should work however it cant find the module of the app
@Codemycom
@Codemycom 3 жыл бұрын
You forgot to turn on your virtual environment
@hdhxghd7571
@hdhxghd7571 3 жыл бұрын
How can you make your website avaible in internet plz anser me fast
@Codemycom
@Codemycom 3 жыл бұрын
Push it to a webhosting service like heroku
@zhangtimmy5696
@zhangtimmy5696 3 жыл бұрын
Hey John, When I type python manage.py startapp (name here), somehow it returns syntax error. How do I solve this? (Linux)
@Codemycom
@Codemycom 3 жыл бұрын
you did something wrong along the way
@DimiEG
@DimiEG 4 жыл бұрын
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
@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.
@programit7155
@programit7155 3 жыл бұрын
0:01 You are god damn right!!! 👌
@Codemycom
@Codemycom 3 жыл бұрын
ha
@krushnamohod8861
@krushnamohod8861 11 ай бұрын
bash is showing command not found for django-admin.py startproject ablog what should i do
@Codemycom
@Codemycom 11 ай бұрын
Same command, but leave off the .py from django-admin.py
@Basava24
@Basava24 2 жыл бұрын
What should we need to type in password(again): to go to next line
@kerryliu4979
@kerryliu4979 4 жыл бұрын
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.
@Codemycom
@Codemycom 4 жыл бұрын
Are you running the server in the terminal?
@kerryliu4979
@kerryliu4979 4 жыл бұрын
@@Codemycom yes, I solved it by updating the version of the python to 3.8 Thanks for the quick response
@nickolaimiller3277
@nickolaimiller3277 4 жыл бұрын
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)"
@nickolaimiller3277
@nickolaimiller3277 4 жыл бұрын
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"
@nickolaimiller3277
@nickolaimiller3277 4 жыл бұрын
Final solution in case anyone needs it was: def __dir__(self): return '{} | {}'.format(self.title, self.author)
@NeoxX112
@NeoxX112 4 жыл бұрын
"5 or 6 to 10 videos" Well.. that escalated quickly!
@Codemycom
@Codemycom 4 жыл бұрын
ha, right?!
@jonathanbilesi3170
@jonathanbilesi3170 4 жыл бұрын
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)
@Codemycom
@Codemycom 4 жыл бұрын
Capital U in user
@tomo_thats_me294
@tomo_thats_me294 3 жыл бұрын
do i need to create anything before starting this i tried to get it working and it fails after source virt/Scripts/activate
@Codemycom
@Codemycom 3 жыл бұрын
nope, it should just work. Make sure Python is added to path (that's probably your problem)
@tomo_thats_me294
@tomo_thats_me294 3 жыл бұрын
@@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?
@Codemycom
@Codemycom 3 жыл бұрын
@@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_me294
@tomo_thats_me294 3 жыл бұрын
@@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.
@Codemycom
@Codemycom 3 жыл бұрын
@@tomo_thats_me294 I don't know, try continuing from right there
@asher7332
@asher7332 4 жыл бұрын
$ python -m venv virt bash: /c/Users/Admin/AppData/Local/Microsoft/WindowsApps/python: Permission denied error? how do i fix this
@Codemycom
@Codemycom 4 жыл бұрын
Reinstall python, but this time check the "Add Python 3.8 to Path" box during installation. Then restart git bash.
@athishga3096
@athishga3096 3 жыл бұрын
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...?
@Codemycom
@Codemycom 3 жыл бұрын
There's nothing to sort out. It still works, its just deprecated
@shamimahammadrasel5016
@shamimahammadrasel5016 4 жыл бұрын
are you on windows???
@Codemycom
@Codemycom 4 жыл бұрын
Yes
@alwinmugiyantoro8651
@alwinmugiyantoro8651 4 жыл бұрын
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
@Codemycom
@Codemycom 4 жыл бұрын
Are you using git bash? If not, leave off the winpty
@alwinmugiyantoro8651
@alwinmugiyantoro8651 4 жыл бұрын
@@Codemycom solved thank you very much
@TechSimplified19
@TechSimplified19 4 жыл бұрын
it would be nice if there was a video that shows how to add a search bar
@Codemycom
@Codemycom 4 жыл бұрын
noted
@shaxzod6485
@shaxzod6485 4 жыл бұрын
amazing)
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@NocturneSMT3
@NocturneSMT3 4 жыл бұрын
Thanks for using windows!!
@Codemycom
@Codemycom 4 жыл бұрын
Always!
@devmikka
@devmikka 4 жыл бұрын
Really cool. WIll you make Flask tutorials too?
@Codemycom
@Codemycom 4 жыл бұрын
Yep
@swapnanilchakraborty3016
@swapnanilchakraborty3016 3 жыл бұрын
is this from scratch?
@theo_riveroooo
@theo_riveroooo 3 жыл бұрын
y
@matthewmajewski8318
@matthewmajewski8318 2 жыл бұрын
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
@Codemycom 2 жыл бұрын
No, sublime text does not auto-capitalize your L's...you're just typing them wrong.
@matthewmajewski8318
@matthewmajewski8318 2 жыл бұрын
​@@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
@Codemycom
@Codemycom 2 жыл бұрын
@@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.
@matthewmajewski4705
@matthewmajewski4705 2 жыл бұрын
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?
@Codemycom
@Codemycom 2 жыл бұрын
@@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.
@verdepuntojava6402
@verdepuntojava6402 3 жыл бұрын
I actually instead of using source virt/Scripts/activate, I used .\venv\Scripts\activate and i worked.
@Codemycom
@Codemycom 3 жыл бұрын
ok
@vishalmishra1937
@vishalmishra1937 4 жыл бұрын
how can we customize user rather than default fields . i wanna just use name and password .could u help codemy how to do it
@Codemycom
@Codemycom 4 жыл бұрын
Yeah check the playlist, did a whole video on that.
@JeSus-hl6zj
@JeSus-hl6zj 4 жыл бұрын
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
@Codemycom
@Codemycom 4 жыл бұрын
Not necessarily
Add Blog Posts To Django Webpage - Django Blog #2
19:47
Codemy.com
Рет қаралды 82 М.
Python Django Web Framework - Full Course for Beginners
3:45:41
freeCodeCamp.org
Рет қаралды 4,8 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 104 М.
Python Django Blog In Less Than 20 Minutes - Blogging website tutorial
22:33
Как устроен PYTHON
37:44
про АйТи | IT Pro
Рет қаралды 22 М.
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,4 МЛН
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 444 М.
Python Django Forms tutorial
26:54
Dave Gray
Рет қаралды 13 М.
Style Our Blog With Bootstrap - Django Blog #3
19:51
Codemy.com
Рет қаралды 49 М.
Django Tutorial for Beginners - Build Powerful Backends
1:02:36
Programming with Mosh
Рет қаралды 2,8 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН