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

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

КОМЕНТАРІ • 35

  • @CoCo-yz6jh
    @CoCo-yz6jh 3 роки тому +4

    Very nice sir!!! thank you so much 😊

  • @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!!❤❤❤

  • @saadessam
    @saadessam 2 роки тому +1

    Thank You!

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

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

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

    Nice

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

    Which theme are you using ?

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

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

    Greate.... make videos on redies with Django

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

    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  3 роки тому

      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 3 роки тому

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

    • @veryacademy
      @veryacademy  3 роки тому +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.

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

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

  • @samirThapaSRT
    @samirThapaSRT 3 роки тому +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  3 роки тому

      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

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

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