Django ORM - Model Field Validators / Writing Custom Validators / ModelForms

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

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

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

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

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

    As an amateur I face with a lot of issues with Django but looking these amazing lessons I become more aware of the main ideas. Thanks for your contributions in my education!!!

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

      Thanks a lot for the comment, that is really great to hear - best of luck with your Django journey! If you have any suggestions for videos that may help, feel free to drop them here.

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

      @@bugbytes3923 I haven't finished your django jorney therefore I do not know whether the answers on my qustions are available or not.
      I face filtering user application by various attributes ascwell as giving some parameters depending on the chosen.
      For example, when I choose a brand I want to iterate in filters only for those models that belong to that particular brand.

  • @amine63404
    @amine63404 6 หลายเดือนก่อน +1

    Nothing to say except that this is another great tutorial.
    Thank you very much.

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

      Thanks so much!

  • @Dorso2009
    @Dorso2009 11 หลายเดือนก่อน +1

    Great series so far! Thank you!!

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

      Thanks a lot!

  • @deldridg
    @deldridg 3 หลายเดือนก่อน +1

    Succint and clear. You are an excellent presenter and this has helped fast track my Django learning. Much appreciated mate from a new Aussie subscriber in Sydney - Dave
    PS. Noting that validation can be done in the form class and at the model level, is there a rule of thumb for choosing the most appropriate approach? My guess is to keep validation as close to the db as possible. Cheers - D

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

      Thanks a lot, really appreciate the support Dave! Greetings from Glasgow, Scotland!
      Agreed, setting up validation at the DB level is most important for data integrity. Form-level validations are important too - can prevent you hitting the database unnecessarily if there's any issues with the submitted data.

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

    Lyle, great stuff as always

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

    Thank you for the great video bro💪

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

      No problem - thank you for watching!

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

    Love you ❤ great work

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

      Thanks a lot!

  • @saptechstuff1497
    @saptechstuff1497 ปีที่แล้ว +2

    thanks, very useful topic, it would be very helpful if you post a video on displaying table data in django and other topics that would be useful are how to deploy the django web app on a live web server and interactive charts based on multiple inputs on the web page and finally a how to video on clean and fully designed UI with interactive input boxes and dropdowns

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

      Thanks! Good suggestions too 👍

    • @AliHassan-wc6nb
      @AliHassan-wc6nb ปีที่แล้ว

      Great work. One request! How to validate debits =credits in diulbe entry system before saving model form.

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

    Great lesson

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

    thank

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

      You're welcome, thanks for watching!

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

    Another great video! How come you never use CBV?

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

      Thank you! I have a preference for functions for learning and for the videos, tbh - I believe they're more explicit in a lot of cases. But sometimes it depends on the project, the other developers, etc. With DRF I'd use CBVs always.
      I do like CBVs too!

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

    How to create multiple validators for a single field?

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

    👍