That's awesome video! I am learning Django for more than a year and still I found something new in this channel. In this vid I found out I can use "cascaded" filter on ORM object - I can filter the object again and again.
@izabelamarkiewicz24249 ай бұрын
You saved my college assignment and mental health thank you!!
@gregruiz9212 жыл бұрын
Hey man... thanks for all you do, and keep up the great work! Much appreciated!!!
@drewanderson58672 жыл бұрын
really good django tutorial
@ab5comau3 жыл бұрын
Thank you very much for this series. I have just about come to terms with Django and could not find how to handle dynamic filters.
@ax3le-2.03 ай бұрын
Thank you very much for this tutorial. Please how do you refresh back to the original site when you filter
@Jane-eunku4 жыл бұрын
훌륭한 강의입니다! Great Tutorial!
@lucastavares49085 жыл бұрын
Awesome video!!
@alizeeboussac40874 жыл бұрын
Hi ! Awesome video thank you. Do you think it's possible to do the same thing with tables ?
@sudipgupta874 жыл бұрын
Nice! By querying all and then filtering, are fetching too much? or are we querying multiple times?
@DanielLeachTen3 жыл бұрын
You are a godsend
@TheDarrenJones5 жыл бұрын
Great video again. One question - how do you do the 'entering two lines at once' editing in VSCode? I can't even think of what to search for to find out how to do it.
@mattfreire5 жыл бұрын
On Mac you place the cursor and then hold the option key while clicking to place the cursor in the next place. On Windows I think it would be the alt key
@michakwiatek50315 жыл бұрын
On linux it's Alt + left mouse or Ctr + Shift + arrow(up/down)
@skelaw3 жыл бұрын
Great job! How can I support you?
@malikrumi12063 жыл бұрын
Thank you for this series. But I am curious: why didn’t you use DateTimeRangeField and or IntegerRangeField?
@eesakamaldien19172 жыл бұрын
Hi can this be used off model methods aswell?
@thales-maciel4 жыл бұрын
how can I pass the values back to the template so the user can see which filters are applied?
@cudanakiju04 жыл бұрын
up
@whonayem013 жыл бұрын
Thanks!
@anoopkg86815 жыл бұрын
awesome
@jlpeyret5 жыл бұрын
Wait, am I correct in thinking the mechanism here is to fetch all the table’s rows into memory and then filtering that down to only what you want? No problem if it’s a small table but not very viable if it had millions of rows. I suppose you could compose Django Q objects into a tuple and then ‘Journal.objects.get(*tuple_q)‘ so most of the code would still apply.
@mattfreire5 жыл бұрын
There is nothing being stored in memory. This explains how querysets are evaluated: docs.djangoproject.com/en/2.2/ref/models/querysets/#when-querysets-are-evaluated
@savannahgilmour23255 жыл бұрын
AWESOME.
@AmanSingh-kp5zw4 жыл бұрын
Hi while using the Date Filter, it does not work and in the terminal I get an error saying : RuntimeWarning: DateTimeField TwitterL4.trend_start_time received a naive datetime (2019-05-14 00:00:00) while time zone support is active. How to resolve this
@malikrumi12063 жыл бұрын
Hey, it's like 9 months later, so I don't know if you still need an answer or not, but basically there are two kinds of time: 'naive', and 'timezone'. So timezone should be obvious, and naive is a time without time zone information. In your settings you are using timezone (it might just say 'tz') but the code is time naive, which is why you got this error. Look up time and time zone in the Django docs for more info.