Python Django ORM - Towards SQL Optimization - Django Debug Toobar Package

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

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

  • @mma93067
    @mma93067 3 года назад +3

    I recently started an intern where we primarily use Django. Your channel has been my second source of truth right after documentation.
    Do you think you might be making any videos on Django-guardian sometime soon?

  • @nimasand8866
    @nimasand8866 3 года назад +2

    REALLY THANKYOU, for teaching useful things. I learned a lot from you!!❤❤❤

  • @CoCo-yz6jh
    @CoCo-yz6jh 4 года назад +4

    Very nice sir!!! thank you so much 😊

  • @devrahul7435
    @devrahul7435 3 года назад +1

    Really sir! I am learning a lot from you. Thank you so much❤️❤️

  • @saadessam
    @saadessam 2 года назад +1

    Thank You!

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

    I bought a bootstrap theme and the toolbar does not appear where this theme. It looks like it cannot be injected into the page. What could be the reason for this?

  • @italobarzola631
    @italobarzola631 4 года назад +2

    Nice

  • @samirThapaSRT
    @samirThapaSRT 4 года назад +3

    Hello bro lots of love from nepal
    I love your content so much but i want to request you something can you please make a video on making advance queries in class based view i found it confusing while making queries in cbv. Thank you in advance .sending lots of love from nepal❤❤❤

    • @veryacademy
      @veryacademy  4 года назад

      Hi Samir, thank you for your message, very kind. Your question has two components - you need to understand how to create overrides of the CBV, that's step one. Then the queries - they are just queries like you would make in a function base view. I will when I can do some more querying with CBV

  • @chetanfuloriya3381
    @chetanfuloriya3381 4 года назад +2

    Which theme are you using ?

  • @aravindaodh7281
    @aravindaodh7281 3 года назад +1

    Greate.... make videos on redies with Django

  • @akshattrivedi4933
    @akshattrivedi4933 3 года назад +1

    Hey sir, I did all the things which you mentioned in the video but toolbar is not displaying. Please help.

    • @veryacademy
      @veryacademy  3 года назад +1

      Hi, I can’t really help much more. Do you have an error code!

    • @akshattrivedi4933
      @akshattrivedi4933 3 года назад

      @@veryacademy
      I have this error in inspect element
      :8000/static/debug_toolbar/js/toolbar.js:1 Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

    • @veryacademy
      @veryacademy  3 года назад +1

      @@akshattrivedi4933 stackoverflow.com/questions/64013643/failed-to-load-module-script-the-server-responded-with-a-non-javascript-mime-ty

    • @akshattrivedi4933
      @akshattrivedi4933 3 года назад

      @@veryacademy Still not getting it. I have been working on this since last 12 hours.

    • @veryacademy
      @veryacademy  3 года назад +1

      @@akshattrivedi4933 Link me your repository I will get it working

  • @sheikhmuhammedshoaib1124
    @sheikhmuhammedshoaib1124 3 года назад

    If you we are using react in front end, then how can we use debug tool bar or any alternative...

    • @veryacademy
      @veryacademy  3 года назад +1

      stackoverflow.com/questions/49862560/does-django-debug-toolbar-work-with-drf for example?

  • @timothymalahy7880
    @timothymalahy7880 4 года назад

    At 6:30 you mention internal IPs. If we're deployed to a live server and we wanted our devs to see the toolbar but end users to not, would we add the up address of the devs' PCs?

    • @veryacademy
      @veryacademy  4 года назад

      Hi Tim, according to the docs debug must be on and the IP needs to match. Of course that wouldn’t stop you possibly overriding the debug option. Maybe this is something you would use on a testing/staging server/instance

    • @timothymalahy7880
      @timothymalahy7880 4 года назад

      @@veryacademy would there be enough details in your docker tutorial to do this? We're looking to transition to Docker

    • @veryacademy
      @veryacademy  4 года назад +1

      Hi Tim, moving to docker - your app will be in a container which you provide you the flexibility to deploy and test on deployment in a staging area for example. Many possibilities - sorry to be so general.

  • @myyagis3310
    @myyagis3310 3 года назад +1

    I think this is conflicting with Django Rest Framework library.

    • @veryacademy
      @veryacademy  3 года назад +1

      Hi MY Y, this isn't something you would use with DRF 👍

  • @aubdurrobanik4036
    @aubdurrobanik4036 2 года назад +1

    how can i get full code of this video? sir.

    • @veryacademy
      @veryacademy  2 года назад

      Really sorry it is not available for this tutorial.