Django Aggregation

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 25

  • @julienboudreau8419
    @julienboudreau8419 3 роки тому +5

    Love your tutorials. Been learning Django for 6 months now using them and find that I'm getting a lot more in depth understanding compared to initial courses I was taking.

    • @veryacademy
      @veryacademy  3 роки тому

      Great to hear! Thank you for watching 👍

  • @webCraftPro748
    @webCraftPro748 Рік тому

    I found this video helpfull, i was strugling found how to use the aggration and how to access them through the template, but now i found it, it was about 5 days strugling to this as a biginner. Thanks you so much, sir.

  • @g.6013
    @g.6013 3 роки тому +1

    best django tutorial ever!!!

  • @onyeibo
    @onyeibo 2 роки тому +3

    Amazing resource as usual. You mentioned "annotate" and I was looking forward to that. Suddenly, the next episode had nothing about "annotate". Where has it gone?

  • @MeskosPaslauga
    @MeskosPaslauga 3 роки тому +3

    Hello, great explanation. Thanks.
    At the end of the video you mentioned annotate, but I can't find this vid. Maybe it's uploaded elsewhere or is not released yet? Also advanced topics interest me :)

  • @abcxyz1650
    @abcxyz1650 3 роки тому

    Your videos are very containful
    Thanks for ur gr8 service

  • @fakeyazlm9930
    @fakeyazlm9930 2 роки тому

    ty so much ♥

  • @vehanhemsara9793
    @vehanhemsara9793 3 роки тому +2

    Thank You Sir

  • @justacasualdeveloper
    @justacasualdeveloper 3 роки тому +2

    This channel never seems to stop to amaze me 😁.
    Keep up the great work. It's absolutely perfect 👌.

    • @veryacademy
      @veryacademy  3 роки тому +1

      Thank you so much for the suggestions - keep them coming 😀

  • @robertng4666
    @robertng4666 3 роки тому +1

    Thanks for the awesome tutorial. could you please let me know which extension VSCode extension you used to open the db.sqlite3 database?

    • @veryacademy
      @veryacademy  3 роки тому

      Sqlite

    • @robertng4666
      @robertng4666 3 роки тому +1

      @@veryacademy thank you so much for your reply. Really appreciated. It works. I just need to go to the very bottom of the left handed column and expand "SQLITE EXPLORER" to review the tables.

  • @potatoesama5789
    @potatoesama5789 3 роки тому +2

    Hello sir, thank you so much for your video's, i learned and loved django from you and did my graduation project with django.. It was a web app that explains programming languages and has a question section almost like a simplified version of stackoverflow and w3school together. I got the best project of the semester award thanks to your very educational tutorials. I have a question now, i feel like I'm lost again after i finished my project, what should i do, should i learn some front end stuff like react or just continue to learn django in a deeper way? In the same time i will be looking for a job with django.

    • @veryacademy
      @veryacademy  3 роки тому +1

      Congratulations! First and foremost - keep going. It is always good to learn others tools, but most importantly keep the brain active and knowledge fresh in your mind for when you get interviews. If you are specifically looking for Django jobs, maybe think of another project you can work on in an area of Django you haven’t experienced yet. Also good to know Docker if you haven’t started, testing tdd. Whatever you do, so happy that the content was useful and wish you the very best finding a job and starting your career

  • @ahmedelmawrdy4381
    @ahmedelmawrdy4381 3 роки тому

    keep it up !

  • @NeilRenaud
    @NeilRenaud 3 роки тому +1

    Thanks for the tutorials they are really helpful. Any chance of showing the ManyToManyField in particular with a "through" table. I'm struggling working with them. My example is a Product, ProductSize and a Stock. So for example Product are BlueShirt, YellowShirt, Size is Small, Medium Large and then there is a through table for Stock which would have BlueShirt, Small - 5 in stock, BlueShirt, Medium - 2 in stock, ..... Yellow Shirt, Small - 1 in stock. Unless this isn't the correct way to represent this model? In htat case given a Product I should be able to list out all the sizes with their stock level but it isn't obvious how to do that.

    • @veryacademy
      @veryacademy  3 роки тому +1

      Thanks Neil - I am in the mists of ecommerce 2.0. I am working on a new database schema to overcome this challenge. There are a few different approaches to this and depends on the overall scope of the system. When I get the database schema completed I will put out a video with the design and queries to fulfil what it is you are looking to do.

  • @wiki-infodevelopment3369
    @wiki-infodevelopment3369 3 роки тому

    pretty nice, and what if the field is ForeingKey like
    class contrat_items(models.Model):
    Item_name = models.CharField(max_length=15)
    Price = models.DecimalField(max_digits=15, decimal_places=2,null=True)
    class Invoice_billing(models.Model):
    Item_price = models.ForeignKey(contrat_items, on_delete=models.CASCADE)
    Unites = models.DecimalField(max_digits=15, decimal_places=2,null=True)
    how do I call this item?

  • @adhaniataintan
    @adhaniataintan 3 роки тому

    what if annotate? example is a=Pelanggaran.objects.values('jenis').annotate(Count('jenis')), and then what about in html? how to create table with values and the count of values? thanks

  • @jpongthep
    @jpongthep 3 роки тому

    thank you. How to find aggregation with group by ?

    • @veryacademy
      @veryacademy  3 роки тому +1

      stackoverflow.com/questions/13403609/how-to-group-by-and-aggregate-with-django

    • @jpongthep
      @jpongthep 3 роки тому

      thank you :)