Django Models.py - Django Databases #2

  Рет қаралды 55,573

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 75
@Codemycom
@Codemycom 5 жыл бұрын
▶️ Watch Entire Django Database Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2uiNq86 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com Take $30 off with coupon code: youtube1
@thomaspaine6082
@thomaspaine6082 4 жыл бұрын
You are the smartest Django teacher , thank you very much! Edit: i am learning a lot i am very grateful :)
@Codemycom
@Codemycom 4 жыл бұрын
Thank you! 😃
@thomaspaine6082
@thomaspaine6082 4 жыл бұрын
@@Codemycom i am learning a lot! Thank you i love your teaching style
@Codemycom
@Codemycom 4 жыл бұрын
@@thomaspaine6082 Glad to hear it!
@yeerojcodes3020
@yeerojcodes3020 4 жыл бұрын
i like the way u start these awesome videos ...so much full of energy
@Codemycom
@Codemycom 4 жыл бұрын
Thank you so much 😀
@OpcoesBaunilha
@OpcoesBaunilha 2 ай бұрын
Thank you so much! This is very helpful I'll buy the course
@vinu1497
@vinu1497 2 жыл бұрын
Sir you are Incredible..!!! U made it look like It was like teaching a person to eat ice cream...!!! hahaha what an awesome trainer fantastic 🙂
@Codemycom
@Codemycom 2 жыл бұрын
Thank you so much 😀
@anselsolomon6270
@anselsolomon6270 4 жыл бұрын
I like this, u kept it very clear and simple..Thanks
@Codemycom
@Codemycom 4 жыл бұрын
Glad you enjoyed it!
@annisfun1993
@annisfun1993 3 жыл бұрын
that was great pls keep the good tutorials
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@spiralgaming8940
@spiralgaming8940 4 жыл бұрын
Thank you sir for such a exciting and informative content
@Codemycom
@Codemycom 4 жыл бұрын
My pleasure
@MuhammadBilal-su6cc
@MuhammadBilal-su6cc 12 күн бұрын
Hi, I facing a problem that database which is not config with data, and not shown in django framework, kindly can you help me if i send the file for correcting.
@juanmitilo2668
@juanmitilo2668 3 жыл бұрын
Excellent video my friend. Thank you so much. Very helpful.
@Codemycom
@Codemycom 3 жыл бұрын
You're welcome!
@sidaliaityahiatene3988
@sidaliaityahiatene3988 2 жыл бұрын
Thank you man, you are amazing
@Codemycom
@Codemycom 2 жыл бұрын
Thanks!
@brucebarrett1273
@brucebarrett1273 4 жыл бұрын
To avoid the "Sublime" problem of italic, lower-case el looking upper-case change the font in preferences. For example "Letter Gothic Std" works nicely.
@ruhiziki6361
@ruhiziki6361 4 жыл бұрын
Thanks sir for the awesome videos!
@Codemycom
@Codemycom 4 жыл бұрын
Very welcome!
@tripathi5174
@tripathi5174 5 жыл бұрын
Sir what if we have a admin and I want to delete that admin and create a new superuser, will all the data of my project or website will be lost or the actions performed by the previous admin will be lost? or there will be no change at all if i create a new super user with different name and password please help i am not able to access my previous admin and i am getting an error called as User.profile.RelatedObjectDoesNotExist: User has no profile. Please help
@Codemycom
@Codemycom 5 жыл бұрын
Good question. Your data won't be lost. The data is in the database, it's not tied to the superuser. Just create a new superuser and you'll be fine.
@tripathi5174
@tripathi5174 5 жыл бұрын
@@Codemycom thankyou so much sir
@Codemycom
@Codemycom 5 жыл бұрын
@@tripathi5174 Sure thing!
@davecox3013
@davecox3013 4 жыл бұрын
I notice at 18:40 you hit save in the script and reload on the website, the change is immediate. Did you migrate again to do this because I've saved my work but still have members object there. Cheers mate!
@Codemycom
@Codemycom 4 жыл бұрын
No, I didn't migrate.
@davecox3013
@davecox3013 4 жыл бұрын
Ok sorry
@Codemycom
@Codemycom 4 жыл бұрын
@@davecox3013 nothing to be sorry about
@ideal7761
@ideal7761 4 жыл бұрын
@@Codemycom Thanks for the great tutorials; how do I go past what @Dav Cox has mentioned here? I have hit the same snag, added: def __str__(self): return self.fname + ' ' + self.lname to models.py, saved but Members object (n) still appears instead of member names.
@ideal7761
@ideal7761 4 жыл бұрын
Got it. Indentation was not right; it should be aligned this way: class Members(models.Model): fname = models.CharField(max_length=50) lname = models.CharField(max_length=100) email = models.EmailField(max_length=200) passwd = models.CharField(max_length=50) age = models.IntegerField() def __str__(self): return self.fname + ' ' + self.lname
@udhayhakarthik6792
@udhayhakarthik6792 3 жыл бұрын
Where does this database reside? Was it SQL or something else?
@Codemycom
@Codemycom 3 жыл бұрын
it's the default database that comes with django
@JJ-ot3ps
@JJ-ot3ps 2 жыл бұрын
hi there, what is models.Model? I guess the first models is from django class, and what is the second Model mean?
@Codemycom
@Codemycom 2 жыл бұрын
it's just how django does it
@samuvij6991
@samuvij6991 7 ай бұрын
👌
@TechWithSabri
@TechWithSabri 5 жыл бұрын
i think this is what we are talking about it sir yes? witch admin can add some staffs in his website and user can like or do staffs also i think this is the main of this tutorial ? this what we need any wway thnx so much for your time
@Codemycom
@Codemycom 5 жыл бұрын
Adding things to the admin area is one thing...having those changes reflect onto the website is a whole other complicated thing...
@TechWithSabri
@TechWithSabri 5 жыл бұрын
@@Codemycom look sir i will give you an example a client he is a bodybuilding want to create his own website.(videos website) after you create the website and you add the videos he gave it to you, he want also after weeks to add some videos or pictures without contacting you . . . . whats the steps in this case if you can make some videos about this prblm i will be very happy and appreciate that. thnks a lot for your time.
@yaboobayyaboobay8191
@yaboobayyaboobay8191 8 ай бұрын
The model is not showing in the admin page for me
@Codemycom
@Codemycom 8 ай бұрын
what did you do differently from the video?
@shoxruxsunnatov
@shoxruxsunnatov 3 жыл бұрын
Hi, how many years of experience do you have?
@Codemycom
@Codemycom 3 жыл бұрын
I've been coding for 35 years
@rangabharath4253
@rangabharath4253 5 жыл бұрын
Thank you so much 😁👍
@Codemycom
@Codemycom 5 жыл бұрын
Thanks for watching!
@SA-es5gs
@SA-es5gs 4 жыл бұрын
does Django is secure?
@Codemycom
@Codemycom 4 жыл бұрын
Yes
@bhushanwagh7192
@bhushanwagh7192 5 жыл бұрын
Can you make a video... How to integrate machine learning with tkinter Or have a any idea about this please let me know.. Please
@Codemycom
@Codemycom 5 жыл бұрын
Maybe...but if you know machine learning...and you know tkinter...there's not much else to learn ;-) I have a matplotlib tikinter video in the playlist I think...
@bhushanwagh7192
@bhushanwagh7192 5 жыл бұрын
@@Codemycom thank you so much... 👍😊
@Codemycom
@Codemycom 5 жыл бұрын
@@bhushanwagh7192 Sure thing!
@franciscoayracaceres7163
@franciscoayracaceres7163 11 ай бұрын
amazing, just super good tutorial
@Codemycom
@Codemycom 11 ай бұрын
Thanks!
@ashishdev2024
@ashishdev2024 2 жыл бұрын
You're in the 3rd generation of sublime text. Upgrade to its 4th generation!
@Codemycom
@Codemycom 2 жыл бұрын
Why? There's no reason to.
@mdbarin2014
@mdbarin2014 Жыл бұрын
great thanks a lot 🙏🙏🙏
@Codemycom
@Codemycom Жыл бұрын
Welcome!
@ajaydubey304
@ajaydubey304 2 жыл бұрын
if you stuck with table error like i did use this command in new django update python manage.py migrate --run-syncdb
@Kevin-hl8iw
@Kevin-hl8iw 2 жыл бұрын
Thank you Walter White
@Codemycom
@Codemycom 2 жыл бұрын
lol
@toshiharu7630
@toshiharu7630 Жыл бұрын
walter white in the world of programming xd
@Codemycom
@Codemycom Жыл бұрын
lol
@ahmetburakkarhan130
@ahmetburakkarhan130 4 жыл бұрын
you look like walter white
@Codemycom
@Codemycom 4 жыл бұрын
ha
@finitoSA
@finitoSA Жыл бұрын
Please, don't concatenate! I'm scared... It's easier and prettier to use fstrings - like this: variable = 'fcking' return f'This is {variable} awesome'
@justgames123
@justgames123 4 жыл бұрын
Glad to see you have moved on from selling meth Walter White
@Codemycom
@Codemycom 4 жыл бұрын
lol
@justgames123
@justgames123 4 жыл бұрын
@@Codemycom informative video, thanks
@ashishdev2024
@ashishdev2024 2 жыл бұрын
You're in the 3rd generation of sublime text. Upgrade to its 4th generation!
Pull Data From The Database - Django Databases #3
12:26
Codemy.com
Рет қаралды 41 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Using Databases With Django - Django Databases #1
11:48
Codemy.com
Рет қаралды 82 М.
Python Django Models and Migrations
8:02
Dave Gray
Рет қаралды 13 М.
The Basics of Django Models
37:32
Pretty Printed
Рет қаралды 99 М.
Django Tutorial - SQLite3 DataBase Tutorial
22:49
Tech With Tim
Рет қаралды 187 М.
Django Tutorial for Beginners - Build Powerful Backends
1:02:36
Programming with Mosh
Рет қаралды 2,8 МЛН
Understanding Django Model Relationships
25:56
Pretty Printed
Рет қаралды 95 М.
django Architecture - Connection Management
15:10
Hussein Nasser
Рет қаралды 53 М.
Python Django Images - How to Upload & Display Images
12:55
Dave Gray
Рет қаралды 19 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН