Django Q Objects / Filtering with OR and NOT Conditions / Pattern Matching and Regex Lookups

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 29

  • @bugbytes3923
    @bugbytes3923  9 หลายเดือนก่อน +1

    ORM Playlist link: th-cam.com/video/EsBqIZmR2Uc/w-d-xo.html

  • @wasifbinlatif3549
    @wasifbinlatif3549 11 หลายเดือนก่อน +4

    Best Django TH-camr ever

    • @bugbytes3923
      @bugbytes3923  11 หลายเดือนก่อน +5

      Wow, thanks for the compliment, appreciate it!

    • @Yarkanlaki
      @Yarkanlaki 9 หลายเดือนก่อน +1

      Agreed 💯.

  • @noorzaibchohan1200
    @noorzaibchohan1200 5 หลายเดือนก่อน +1

    This guy is unique and exceptional that people who want to go deep into Django must have to go through topics he has explained in his playlist. Thankyou for helping the community.

    • @bugbytes3923
      @bugbytes3923  5 หลายเดือนก่อน

      Many thanks for your amazing comment, really great to hear that feedback - thank you!

  • @Rinpower
    @Rinpower 2 หลายเดือนก่อน

    Voice timbre and tempo are very soothing

    • @bugbytes3923
      @bugbytes3923  2 หลายเดือนก่อน

      Haha thanks a lot!

  • @seydinaoumarsamabaly1806
    @seydinaoumarsamabaly1806 ปีที่แล้ว +3

    A great tutorial as usual. Thank you Master for the effort put in the service of people !

  • @khunjohn1054
    @khunjohn1054 ปีที่แล้ว +1

    Again, a great tutorial. Q and F objects are really powerful. When I have a frontend where I can search/filter over several fields I take the request and build a list of Q objects from the request and then unpack them in queryset filter i.e. Restaurants.objects,filter(reduce(operator.and_, q_query_list)).

  • @DecodingTruth101
    @DecodingTruth101 หลายเดือนก่อน

    great content, Thankyou

  • @JoseLuisMorales
    @JoseLuisMorales ปีที่แล้ว +1

    Great explanation and Great content best for you bro

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว +1

      Thanks a lot, really appreciate that!

  • @mizzlehd8742
    @mizzlehd8742 ปีที่แล้ว +1

    Great tutorial. Any tips for how to implement a captcha to check if human in forms?

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      Thank you! Good suggestion, I'll look into a video on this soon.
      Django does have libraries to help with this, such as: github.com/mbi/django-simple-captcha

  • @wisemify
    @wisemify ปีที่แล้ว +1

    Hi, thank you so much for many amazing tutorials. I have watched most of them, and they have been very very useful! Would you be able to create a tutorial on displaying a network graph in Django?

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      Thank you!
      By network graph, do you have anything in particular in mind (an example use-case)? I'm interested in this topic (networks/graph-theory), so definitely something I'd consider.

    • @wisemify
      @wisemify ปีที่แล้ว

      :)
      I am working on a project that aims to provide some insight into and an overview over initiatives that targets youth in parts of the city of Oslo where social conditions are a little more challenging. There is a mix of different organizations, schools, public initiatives, cultural offerings, sports clubs that are relevant in this space. I thought it would be useful to present the data in a network graph, to get a better understanding of all the relationships/interactions.
      A use case could be: I am an organization targeting kids that have certain needs, I am contemplating to in get contact with this school, and are wondering which other organizations are active at that particular school. I also wonder which other schools these organizations also are active at.
      Another use case could be: I see that this junior-high-school is scoring low on certain measures, which elementary school did these kids come from, and what kind of initiatives are active on these schools.
      Or what kind of sports offerings do kids at this school have?
      Possible addons could be using tagging as filtering alternatives in the graph.
      NB, this is a pro-bono side project, and I am not a professional programmer.

  • @aashayamballi
    @aashayamballi ปีที่แล้ว +1

    Thank you!

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว +1

      You're welcome, thanks for the comment!

  • @frameff9073
    @frameff9073 ปีที่แล้ว +1

    thank you

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      You're welcome, thank you for watching!

  • @ssgto
    @ssgto 9 หลายเดือนก่อน

    i learn django while i learn english, thanks lasdasd

    • @bugbytes3923
      @bugbytes3923  9 หลายเดือนก่อน

      Thanks and good luck!

  • @syedazeemjaved
    @syedazeemjaved 7 หลายเดือนก่อน

    Lesson learned, if you want to make a profit, don't add a number in your restaurant name.

  • @nicenaija9952
    @nicenaija9952 ปีที่แล้ว

    Do a tutorial on Django-q (Tasks)

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว +1

      Good idea. I wanted to do one on Celery too - what do you think?

    • @nicenaija9952
      @nicenaija9952 ปีที่แล้ว

      @@bugbytes3923 Your channel is known for the “not so popular tools” eg HTMX, Django-hijack etc. Celery is quite popular, hence a lot of tutorials on it. Django-q on the other hand, not so much. Id say Django-q then celery (if need be)