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

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 44

  • @bugbytes3923
    @bugbytes3923  9 месяцев назад +2

    Playlist link: ruclips.net/video/EsBqIZmR2Uc/видео.html

  • @AYYOFLOCKA
    @AYYOFLOCKA 18 дней назад

    Hey, thanks so much for this, was getting lost in the sauce and not finding the docs handy. You are the senior dev this city deserves.

  • @anatoliyloboda4601
    @anatoliyloboda4601 Год назад +1

    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  Год назад +2

      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 Год назад

      @@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 11 месяцев назад +1

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

  • @AfsarKhan-l3p4k
    @AfsarKhan-l3p4k Месяц назад +1

    Thank you, Your contents are very helpful

  • @Dorso2009
    @Dorso2009 Год назад +1

    Great series so far! Thank you!!

  • @motaz1701
    @motaz1701 11 дней назад

    Many thanks for this helpful content.

  • @FernandoLopez-vc2ld
    @FernandoLopez-vc2ld 2 месяца назад +1

    Very useful, thanks for sharing

    • @bugbytes3923
      @bugbytes3923  2 месяца назад

      Thanks - glad to hear it's useful!

  • @robhafemeister3100
    @robhafemeister3100 Год назад +1

    Lyle, great stuff as always

  • @nileshswami2426
    @nileshswami2426 Год назад +1

    Love you ❤ great work

  • @امینجمالی-خ9ص
    @امینجمالی-خ9ص 4 месяца назад +1

    great tutorial
    thanks buddy

    • @bugbytes3923
      @bugbytes3923  4 месяца назад

      @@امینجمالی-خ9ص thank you!

  • @Ego_Maritm
    @Ego_Maritm Год назад +1

    Thank you for the great video bro💪

    • @bugbytes3923
      @bugbytes3923  Год назад

      No problem - thank you for watching!

  • @thesocialbus8786
    @thesocialbus8786 4 месяца назад +1

    Thanks master❤

  • @deldridg
    @deldridg 9 месяцев назад +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  8 месяцев назад

      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.

  • @JustinSpryce
    @JustinSpryce Год назад

    Great lesson

  • @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.

  • @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?

  • @GeneralTon1
    @GeneralTon1 Месяц назад

    hi the im trying to make a booking system for my website where the user cannot input negative numbers . This code will work right?

    • @GeneralTon1
      @GeneralTon1 Месяц назад

      Sorry for this dumb quest i was trying the validators but its still calculating the total in negative number i am going to try what you have done to see if it works. I wonder if it has anything to do with a java script attach because that is what is calculating the total of the booking price

  • @احمدفوزىالحشاش
    @احمدفوزىالحشاش Месяц назад

  • @frameff9073
    @frameff9073 Год назад +1

    thank

    • @bugbytes3923
      @bugbytes3923  Год назад

      You're welcome, thanks for watching!

  • @احمدفوزىالحشاش
    @احمدفوزىالحشاش Месяц назад

    ❤m

  • @ibrahimoglu
    @ibrahimoglu Год назад

    👍

  • @mensartelite3004
    @mensartelite3004 28 дней назад

    @BugBytes,
    Your channel offers a new discovery