Тёмный

Using Multiple Database Tables With Django - Django Wednesdays #4 

Codemy.com
Подписаться 235 тыс.
Просмотров 81 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 114   
@Codemycom
@Codemycom 3 года назад
▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My RU-vid Channel: bit.ly/35Xo9jD 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
@techwithgantavya6381
@techwithgantavya6381 3 года назад
Hey John your channel has literally changed my life man thanks a lot
@Codemycom
@Codemycom 3 года назад
Wow, that's awesome! I'm so happy that you found value in it!
@a1225johnny
@a1225johnny 2 года назад
The whole series of tutorials is great. The clarity of concept and implementation really helped me a lot! Thank you so much!
@Codemycom
@Codemycom 2 года назад
Welcome!
@Charoiz
@Charoiz Год назад
Hello from Finland. I have a problem. Everything works fine, until I try to add my events and venues. I am able to add users, but django gives me an error after I click "add" after the other two. What did I miss?
@Codemycom
@Codemycom Год назад
Not sure. It depends what the error says.
@Codemycom
@Codemycom Год назад
@@Charoiz awesome! Good job!
@PREMYADAV-sv6sg
@PREMYADAV-sv6sg 11 месяцев назад
I have a problem Let's say I have two models in my app i. E. Profile and Training. I want to display name, age and address from profile and number of training, name of last training he has from training table. How can i do that? Please help me
@Codemycom
@Codemycom 11 месяцев назад
Just call them in the way you call anything from a table...make two model calls on the backend, in the normal way..pass them both to the frontend thru the context dictionary in views.py in the normal way.
@cryptotechhelp1459
@cryptotechhelp1459 Год назад
Dude, everyone can see your videos free. You should tell us to enrol at your school to get extras you plug in your RU-vid vids. I am throwing money away monthly on a paid course not nearly as comprehensive, on the promise of a job placement after. Do that!
@Codemycom
@Codemycom Год назад
I do literally do that in every video lol including this one. At the beginning and end of every video.
@krishnadhingra2723
@krishnadhingra2723 3 года назад
Hi Sir, please read the full comment. I'm 14 years old and I think that I'm pretty good at python, html and css. I'm able to make some good webpages. I'm thinking of freelancing. Do you think that It's a good idea freelancing at this age. Pleases tell if you have any suggestions for me. Would love to hear from you!
@Codemycom
@Codemycom 3 года назад
Give it a try and see how it goes! Good luck!
@krishnadhingra2723
@krishnadhingra2723 3 года назад
Thank you
@asgeralia8802
@asgeralia8802 2 месяца назад
Superb superb superb Sir how to fetch related data in ui I hv set foreign key
@Codemycom
@Codemycom 2 месяца назад
sorry, don't know what you mean
@hemantd9349
@hemantd9349 2 года назад
Loved your energy! and smashed the subscribe button :-) Very nice tutorial...
@Codemycom
@Codemycom 2 года назад
Thanks! Appreciate it!
@halaezzeddine3894
@halaezzeddine3894 2 года назад
I did the same thing but when typing python manage.py makemigrations, it is giving "no changes detected", why?
@Codemycom
@Codemycom 2 года назад
You probably forgot to save your code in the text editor.
@LiyanaAniaya-d7m
@LiyanaAniaya-d7m Месяц назад
Sir, i have problem is when use DateTimeField and add some data from administration and then error happens is "can only concatenate str (not "datetime.datetime") to str How solved it?
@Codemycom
@Codemycom Месяц назад
you have a typo somewhere
@LiyanaAniaya-d7m
@LiyanaAniaya-d7m Месяц назад
@@Codemycom the answer is, cannot show off as title if that's integer
@amineslami2946
@amineslami2946 2 года назад
venue = models.ForeignKey(Venue, blank=True, null=True) ^ IndentationError: unindent does not match any outer indentation level I get this error what should I do?
@Codemycom
@Codemycom 2 года назад
The error tells you. Your code is not indented correctly. Python is indentation specific. It has to look like the code in the video.
@mufazmi
@mufazmi Год назад
After watching your this video. I am looking for : " How to use django models with foreign keys across multiple databases"
@alcidesmarcano
@alcidesmarcano 3 года назад
Thanks John for another great video of Django!
@Codemycom
@Codemycom 3 года назад
My pleasure!
@subijoyacharya3189
@subijoyacharya3189 3 года назад
Hi John, I am trying to connect my firebase database with Django Web page. Please, please make a video on connecting Django website with Firebase database.
@saikiran9185
@saikiran9185 2 года назад
May I know the reason why giving inside parameters for charFiled(zip_code) ,what happens if we not mention that?
@delllatitude299
@delllatitude299 3 года назад
how to query or handle large tables or databases. for example a table has 1M+ records or a database has 10M+ records. how we can handle multiple database in one project. please make a video on it with small number of records to understand it's best practice. Thanks Eagerly need that
@bagbmxt
@bagbmxt 2 года назад
thanks for helping you got +1 subscriber from brazil
@Kennerdoll
@Kennerdoll 2 года назад
John Kindly make some tutorials just on Model's relationships
@usmankhawar888
@usmankhawar888 2 года назад
Hi, Sorry I am new to this. That admin panel and all the data we store in tables, where that data file is stored? Let say I have a website hosted on a Web Server does that table data stored in phpmyadmin panel or it creates a new database file in the root directory of where the website is living. If its the phpmyadmin stuff where to configure the database ip, port, user name and password? Thanks
@Codemycom
@Codemycom 2 года назад
Django takes care of all the database stuff. It depends on the hosting service you use as to where the database sits. phpmyadmin is not a database, it's just an interface to connect you to a database visually. You generally wouldn't use that for django. Your database config settings will be in your settings.py file in your django project.
@usmankhawar888
@usmankhawar888 2 года назад
@@Codemycom Thanks for replying and also thanks for creating such videos. I had learned a lot from your channel and your tkinter series is the best tkinter guide on youtube. THE BEST... Thanks man
@Codemycom
@Codemycom 2 года назад
@@usmankhawar888 welcome
@phantomx1647
@phantomx1647 2 года назад
How do I merge data into one cell in a table like instead of Row 1 | A | B | C Row 2 | Z | X | Y Do this Row 1 | A B C Z X Y
@mellesiamaged9817
@mellesiamaged9817 9 месяцев назад
thank you. you saved my
@Codemycom
@Codemycom 9 месяцев назад
welcome
@mircagardenman7629
@mircagardenman7629 2 года назад
Hi Master: I am having a hard time building the following: One Artist - Many albums listed. I want to be able to do action a list of musicians. e.g. Linkin Park --> List all of the L.P. albums --> then select each albums and show details of the albums.
@mircagardenman7629
@mircagardenman7629 2 года назад
At the moment, i'm able to build a Musician list and link each musician to One album, but i having a hard time show details of that album (Genre, track list, length of the album etc.) I think i missing something,
@aiantorno9842
@aiantorno9842 2 года назад
HI John, When I added a user and see the list of Users it show 'MyClubUser object (1)' and not the user's name. How do I see the user's name? ps, these have been excellent videos!
@aiantorno9842
@aiantorno9842 2 года назад
Issue resolved, needed to indent the def statement ; )
@GogCode
@GogCode 3 года назад
please explain multiple apps models interaction
@keshutheindianspitz6115
@keshutheindianspitz6115 2 года назад
This is the way how to learn Django thoroughly. Thank you for this wonderful tutorial. I've tried to learn Django from different RU-vid channels but by this set of tutorials I've just loved to learn django, Once again thank you so much. From India, kerala
@Codemycom
@Codemycom 2 года назад
You're very welcome!
@d.thangadurai1403
@d.thangadurai1403 2 года назад
Hi Sir,Please upload , select country,state and city wise in django
@Codemycom
@Codemycom 2 года назад
This playlist is finished. You have all the knowledge here to do that already with these videos.
@rauldinho
@rauldinho 3 года назад
This channel needs more attention. Really useful examples instead of the old todo app. This apps really teaches important things and not only the most basic stuff.
@Codemycom
@Codemycom 3 года назад
Thanks! Tell all your friends about it :-p
@rachaelamuge
@rachaelamuge 3 года назад
Hey, how do i create a database table with the following supplier,loader,customer and order
@Codemycom
@Codemycom 3 года назад
In the same way I do it in the videos
@rachaelamuge
@rachaelamuge 3 года назад
Hi waiting for the next video, It's really cool am understanding it thanks a lot
@Codemycom
@Codemycom 3 года назад
The next video is already out :-) check the playlist
@wiki-infodevelopment3369
@wiki-infodevelopment3369 3 года назад
Hope you make a tutorial about Using Multiple Database in on project using routers
@Codemycom
@Codemycom 3 года назад
No plans for that.
@anandhukrishna1112
@anandhukrishna1112 3 года назад
Sir please add role based login
@varunmalik2583
@varunmalik2583 Год назад
Simply wow❤
@Codemycom
@Codemycom Год назад
Thanks!
@ajaniyeseer5947
@ajaniyeseer5947 Год назад
Your videos are so underated..you deserve more than the likes am seeing here
@Codemycom
@Codemycom Год назад
Tell your friends ;-)
@yasayah7289
@yasayah7289 2 года назад
Great stuff thank you! Speaking of tables, be nice if venue/event coordinators could request/reserve literal tables and chairs for a venue. Quantity on hand, reserve ahead of time. Two member types, attendees and coordinators. Attendees can buy t-shirts =D
@Codemycom
@Codemycom 2 года назад
Just a matter of adding those fields to the model...
@sh-andriy
@sh-andriy Год назад
Thanks so much! This was very helpful for me)
@Codemycom
@Codemycom Год назад
Happy to hear it!
@nezhatnour2462
@nezhatnour2462 2 года назад
Could you please teach us how to create an event calendar widget
@Codemycom
@Codemycom 2 года назад
didnt we already do that?
@fustigate8933
@fustigate8933 3 года назад
You are really underrated!
@mohamedelmabrouki512
@mohamedelmabrouki512 3 года назад
Sir, is there a way please to move data from an html page to an other one based on some conditions.
@Codemycom
@Codemycom 3 года назад
of course.
@asce313
@asce313 3 года назад
Hey John! Could you please add a search functionality in the Django blog tutorial? Thanks alot for this tutorial.. I really appreciate your hardwork and keep up the great work!
@Codemycom
@Codemycom 3 года назад
Yeah we'll likely do that.
@ernestassiusis1333
@ernestassiusis1333 2 года назад
Thank you
@Codemycom
@Codemycom 2 года назад
Welcome!
@seforaabigail6704
@seforaabigail6704 2 года назад
Thanks!
@Codemycom
@Codemycom 2 года назад
Welcome!
@razinshahril1162
@razinshahril1162 3 года назад
Why are you not liking this video? Like it now
@Codemycom
@Codemycom 3 года назад
ha
@labialkosta261
@labialkosta261 3 года назад
Can I use Django and node.js in the same website for exemple using firebase and mysql in the same time?
@Codemycom
@Codemycom 3 года назад
Not likely. Node and Django are two separate backed web frameworks.
@labialkosta261
@labialkosta261 3 года назад
@@Codemycom thx
@guisanfe
@guisanfe 3 года назад
Really nice videos, congrats!!
@Codemycom
@Codemycom 3 года назад
Thanks
@nekoulah522
@nekoulah522 3 года назад
Man, you are a legend, thanks a lot for all the videos
@Codemycom
@Codemycom 3 года назад
Thanks for watching!
@highlycalm
@highlycalm 2 года назад
This is literally what I needed, thank you so much
@Codemycom
@Codemycom 2 года назад
awesome
@johngiangrande2996
@johngiangrande2996 3 года назад
Great vid, John. Learned a lot there. Thank you!
@Codemycom
@Codemycom 3 года назад
Glad to hear it!
@mahdisamadi1647
@mahdisamadi1647 2 года назад
thanks john you are the 💛💛💛💛best
@Codemycom
@Codemycom 2 года назад
Welcome!
@fernandocorenstein6531
@fernandocorenstein6531 2 года назад
This guy is an absolute master.
@Codemycom
@Codemycom 2 года назад
Thanks!
@rafaelsoteldosilva
@rafaelsoteldosilva 2 года назад
This is great stuff, really!!!
@Codemycom
@Codemycom 2 года назад
Glad you think so!
@vipergmainggaming2653
@vipergmainggaming2653 3 года назад
first view and second like
@Codemycom
@Codemycom 3 года назад
Nice!
@labialkosta261
@labialkosta261 3 года назад
You are awesome like always
@Codemycom
@Codemycom 3 года назад
Thanks! You're awesome too :-)
@PritpalSingh-kz6kt
@PritpalSingh-kz6kt 3 года назад
Is it microservices concept in django?
@Codemycom
@Codemycom 3 года назад
huh?
@PritpalSingh-kz6kt
@PritpalSingh-kz6kt 3 года назад
@@Codemycom Can you make video on microservices using django.
@Codemycom
@Codemycom 3 года назад
@@PritpalSingh-kz6kt No, I don't do buzzword stuff like that.
@manuelradovanovicprogrammer
@manuelradovanovicprogrammer 3 года назад
Thank you !
@Codemycom
@Codemycom 3 года назад
Welcome
@anwarsanusi475
@anwarsanusi475 3 года назад
Yosh
@Codemycom
@Codemycom 3 года назад
huh?
@anwarsanusi475
@anwarsanusi475 3 года назад
👍
@seforaabigail6704
@seforaabigail6704 2 года назад
thank u
@Codemycom
@Codemycom 2 года назад
welcome!
Далее
Django Multiple Database Setup Ex1
32:52
Просмотров 37 тыс.
ХОМЯК ВСЕХ КИНУЛ
10:23
Просмотров 536 тыс.
Pagination For Django - Django Wednesdays #18
18:53
Просмотров 42 тыс.
Writing My Own Database From Scratch
42:00
Просмотров 230 тыс.