Thanks, just thanks! I really love and enjoy this channel. You're possibly the only creator with this quality level serving really in-depth knowledge about django. I Would love more videos regarding DRF and Deployment, and freecodecamp is also a great idea.
Thank you! - Yeah DRF I haven't lost focus on that promise. I know I seem to be moving away from it - I most definitely am not. Time is never on my side - but it will continue shortly.
you have solid knowledge which we can see through your videos and teaching method. just new to your channel. Subscribed and following for your next videos. for now following your other playlists to get more knowledge about Django
awesome. Everytime i watch your videos i will learn a new thing. Today i learned about sqlite extension in vscode. Previously about docker extension. Those are really very useful to explore data from vs code itself. Tq so much. You should definitely do a video on freecodecamp, so everyone will know about your awesome channnel. All the best :)
Hi Ranga - thanks for the suggestion about freecodecamp - once I have everything in order and the plan is fully established here on RUclips I will start to actively look for these types of opportunities. If you could for the time being add a few links here and there on social media - that would be most appreciated. I do actively try and add something new in each video 👍
Great tutorial! I am using debug toolbar to show the detail of queries but have not idea where does that info come from. BTW django-extensions is also a good tool to enhance the Django shell by running python manage.py shell_plus, which will import all existed models, Q, F, aggregate, and many useful functions on your behalf when launched, and use an ipython shell, quite recommendable.
Hi Bip, at the start of the tutorials it lists some of the important version numbers. Also, in the project repositories, normally you will see a file called requirements.txt - this gives you the version of all packages installed.
Hey, Shivaram. Sounds like you are new to Django, it is a long explanation - however take a look at this beginners series ruclips.net/p/PLOLrQ9Pn6cawWd-5UZM6CIm0uqFXeBcTd
@@veryacademy Well, I found out the issue but didn't understand the concept behind it. It return empty string when I do the following print statements: print(posts.query) print(connection.queries) It return the output when I also add: print(post).
Hi Guz, You can compose statements of arbitrary complexity by combining Q objects with the & and | operators and use parenthetical grouping. Also, Q objects can be negated using the ~ operator, allowing for combined lookups that combine both a normal query and a negated (NOT) query. docs.djangoproject.com/en/3.1/topics/db/queries/ books.agiliq.com/projects/django-orm-cookbook/en/latest/query_relatedtool.html riptutorial.com/django/example/4565/advanced-queries-with-q-objects bradmontgomery.net/blog/adding-q-objects-in-django/
@@veryacademy there is no such an option of database in tool windows of view , the only options relates to the database are DB browser and DB execution console
Thanks, just thanks! I really love and enjoy this channel. You're possibly the only creator with this quality level serving really in-depth knowledge about django. I Would love more videos regarding DRF and Deployment, and freecodecamp is also a great idea.
Thank you! - Yeah DRF I haven't lost focus on that promise. I know I seem to be moving away from it - I most definitely am not. Time is never on my side - but it will continue shortly.
I came here for Django ORM. Now I am Hooked to your channel.
Hi Rahul! Thank you, and long may it continue! 👍
you never fail to impress. i am implementing this django ORM SQL logic into my own project works amazing. thanks
Great to hear!
your tutorials are NEXT LEVEL! keep up the great work!
Thanks, will do!
you have solid knowledge which we can see through your videos and teaching method. just new to your channel. Subscribed and following for your next videos. for now following your other playlists to get more knowledge about Django
Welcome aboard! Thank you!
This channel is under rated
👍 Thank you
awesome. Everytime i watch your videos i will learn a new thing. Today i learned about sqlite extension in vscode. Previously about docker extension. Those are really very useful to explore data from vs code itself. Tq so much. You should definitely do a video on freecodecamp, so everyone will know about your awesome channnel. All the best :)
Hi Ranga - thanks for the suggestion about freecodecamp - once I have everything in order and the plan is fully established here on RUclips I will start to actively look for these types of opportunities. If you could for the time being add a few links here and there on social media - that would be most appreciated. I do actively try and add something new in each video 👍
@@veryacademy Sure. Cheers :)
Why isn't the or statement just returning the first query ??? Why is it returning both?
Like all your tutorials Gold value, thank you
Glad you like them!
Great tutorial! I am using debug toolbar to show the detail of queries but have not idea where does that info come from. BTW django-extensions is also a good tool to enhance the Django shell by running python manage.py shell_plus, which will import all existed models, Q, F, aggregate, and many useful functions on your behalf when launched, and use an ipython shell, quite recommendable.
So for me print(connection.queries) returns an empty list what am I missing?
Which version of Django are you using?
Hi Bip, at the start of the tutorials it lists some of the important version numbers. Also, in the project repositories, normally you will see a file called requirements.txt - this gives you the version of all packages installed.
@@veryacademy sorry I don't see any requirements file. can you please check this
@@biplob9764 Sorry Bip - that is an older tutorial! I didnt notice that! It is Django 3.1
@@veryacademy Thank you though. You are awesome!
Any chance this can be updated to Django 4 as it has changed and this no longer works.
Noted, thank you.
sir, if I want to activate this query from the webpage, how will I do it? What would be the url?
Hey, Shivaram. Sounds like you are new to Django, it is a long explanation - however take a look at this beginners series ruclips.net/p/PLOLrQ9Pn6cawWd-5UZM6CIm0uqFXeBcTd
How to enable | and query function
really enjoying your content. do have any plan doing django cache.
I am bumping it up the list - so many others have now asked for it.
Hello bro i have written code : "print(connections.queries) " but it print empty list what i have to do
Hey, hmmm does this help
docs.djangoproject.com/en/4.0/faq/models/#how-can-i-see-the-raw-sql-queries-django-is-running
@@veryacademy Hi !!!!, I put the " DEBUG=True " but i get the same result
print(connection.query) is returning as empty list. Any suggestion?
Would need to see a little more code
@@veryacademy Well, I found out the issue but didn't understand the concept behind it. It return empty string when I do the following print statements:
print(posts.query)
print(connection.queries)
It return the output when I also add:
print(post).
How to find which importables can be imported from django.db?
QUESTION: What's the benefit of using a Q object???
Hi Guz,
You can compose statements of arbitrary complexity by combining Q objects with the & and | operators and use parenthetical grouping. Also, Q objects can be negated using the ~ operator, allowing for combined lookups that combine both a normal query and a negated (NOT) query.
docs.djangoproject.com/en/3.1/topics/db/queries/
books.agiliq.com/projects/django-orm-cookbook/en/latest/query_relatedtool.html
riptutorial.com/django/example/4565/advanced-queries-with-q-objects
bradmontgomery.net/blog/adding-q-objects-in-django/
@@veryacademy thanks
how to get an option to open database in pycharm?
www.jetbrains.com/help/pycharm/database-tool-window.html
let me know if this helps
@@veryacademy sorry but this didn't help
@@veryacademy there is no such an option of database in tool windows of view , the only options relates to the database are DB browser and DB execution console
@@veryacademy waiting for your reply sir
amazing