Комментарии:
How do you clear the shell?
ОтветитьAmazing ♡♡♡ thank you so much
Ответитьso clear and concise
ОтветитьHi late to the party. I have a question, say I have 3 models, Country, State or Province and City or Town. Country ID if FK in Province/State. Should I have County and State PK as FK in City or just state FK and when I query a city I would be able to get all city, state and country details? If so, how can that be done?
Thanks.
Love you man!
ОтветитьThanks bruh
ОтветитьThis is a great tutorial. Thanks a lot!
ОтветитьThank you
ОтветитьThank you so much...🥺😇🙏🙏🙏
ОтветитьI come back to this video from time to time, great content.
Ответитьcan i create an suggest friends notification api using model relationships
ОтветитьThank you for your clear explanation about models relationship
ОтветитьThat was awesome
ОтветитьI thought you can only save without specifying a field by saying commit = false. But here we somehow do it without
ОтветитьThanks a lot sir, you nailed it....
love you from India.
In One-to-one relationship, we are getting only 1 attribute data. what we have to do to get all fields data?
ОтветитьI could feel Corey Chafer intro
ОтветитьYou explain those so easy way
ОтветитьHey Anthony, great explanation and easy to understand, keep going with more stuff! Thanks ;-)
ОтветитьPerfect Tutorial 👍thanks alot!!
ОтветитьWhy does the many-to-many table requires its own id? (Thx for the Video! :)
ОтветитьThank you 🙏🏼
ОтветитьThis guy is true fan of captain america
ОтветитьGood explanation
Ответитьthanks for the great video
ОтветитьGreat tutorial on Django Model relationships! I read quite a few tutorials on this but did not really get it until I watched your video. THANK YOU! Liked and subscribed. I can't wait to watch the other videos you posted. (Thor for president!) =)
ОтветитьGreat, easy to follow. Thanks alot!!
ОтветитьGold!!! Great work
ОтветитьWao superb explanation ✌️
ОтветитьAbout the example "Frameworks and Languages", how can i add a field on Languages and put the quantity of framework have the language?
ОтветитьExtremely useful, Thank you sooo much 💞
ОтветитьThank you very much. When concluding on one to many relationships you said you'll get into more about it in another video,which one?
ОтветитьGreat tutorial, thanks! could anyone tell me what shell it is he is using btw? looks nice
ОтветитьThe best video tutorial ever for django. Awesome explanation . I immediately joined your django tutorial course . Is any GitHub Repository available to refer the code available in this video ?
Ответитьhey what is the tool you are using for db visualisation
ОтветитьI have these models:
class BorrowBook(models.Model):
books = models.ManyToManyField(Book)
def __str__(self):
return f'{self.id}'
class CheckOutBorrow(models.Model):
book = models.OneToOneField(BorrowBook, on_delete=models.CASCADE)
point = models.ForeignKey(Point, on_delete=models.CASCADE)
employee = models.ForeignKey(User, on_delete=models.CASCADE)
date_rent = models.DateTimeField(default=timezone.now)
date_return = models.DateField(max_length=8, help_text='YY-MM-DD')
def __str__(self):
return f'ID: {self.id}'
class Point(models.Model):
amount = models.IntegerField()
member = models.OneToOneField(Members, on_delete=models.CASCADE)
def __str__(self):
return f'{self.id}'
I want to filter a model “CheckOutBorrow” in point = ForeignKey
Example:
I want to get a value like this ‘Checkoutborrow.point.amount’ and update the a value in amount.
How can I do that? Please help me
I have these models:
class BorrowBook(models.Model):
books = models.ManyToManyField(Book)
def __str__(self):
return f'{self.id}'
class CheckOutBorrow(models.Model):
book = models.OneToOneField(BorrowBook, on_delete=models.CASCADE)
point = models.ForeignKey(Point, on_delete=models.CASCADE)
employee = models.ForeignKey(User, on_delete=models.CASCADE)
date_rent = models.DateTimeField(default=timezone.now)
date_return = models.DateField(max_length=8, help_text='YY-MM-DD')
def __str__(self):
return f'ID: {self.id}'
class Point(models.Model):
amount = models.IntegerField()
member = models.OneToOneField(Members, on_delete=models.CASCADE)
def __str__(self):
return f'{self.id}'
I want to filter a model “CheckOutBorrow” in point = ForeignKey
Example:
I want to get a value like this ‘Checkoutborrow.point.amount’ and update the a value in amount by subtracting it auto.
How can I do that? Please help me!
Comment, like, subscribe, and the bell. Thank you very much for all your hard work. Appreciate it, man.
ОтветитьFirst of all a big love from India ❤️. This is a awesome tutorial. I never thought I will get that kind of professional knowledge for free. I also join your free class. I really appreciate your hard work ❤️. Please make more videos on django <3
ОтветитьVery easy to understand explaination.
ОтветитьWell-explained, thank you for this!
Ответитьsir can u please make a video on django channels real time chat app with rest api
ОтветитьThanks a lot
ОтветитьDear sir please explain oneTOone field too. Please
Ответитьso helpful
ОтветитьHow do we make the serializer class and how do we make views for these relations? All the fucking tutorials on the entire internet just focusses on bullshit useless shell!!! Wtf are we going to do with the shell? Show how to actually make an api out of it! This is soooo dumb. I can't find a single video/documentation that covers this together on the internet. Fuck this world. Fuck django fuck programming. Fuck meeee
Ответить