Build a dynamic filtering form with Django // 6 - Filtering by date and view count

preview_player
Показать описание
In this project we teach how to build a dynamic form for filtering your Django models. In this video we start filtering by date and view count.

☝ Get exclusive courses & become a better Django developer

✌️ Stay in touch

Thank you for watching and don't forget to subscribe :)
Рекомендации по теме
Комментарии
Автор

You saved my college assignment and mental health thank you!!

izabelamarkiewicz
Автор

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.

OxMiroslav
Автор

Hey man... thanks for all you do, and keep up the great work! Much appreciated!!!

gregruiz
Автор

Thank you very much for this tutorial. Please how do you refresh back to the original site when you filter

axle-.
Автор

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.

abcomau
Автор

Hi ! Awesome video thank you. Do you think it's possible to do the same thing with tables ?

alizeeboussac
Автор

Nice! By querying all and then filtering, are fetching too much? or are we querying multiple times?

sudipgupta
Автор

Hi can this be used off model methods aswell?

eesakamaldien
Автор

Thank you for this series. But I am curious: why didn’t you use DateTimeRangeField and or IntegerRangeField?

malikrumi
Автор

how can I pass the values back to the template so the user can see which filters are applied?

thales-maciel
Автор

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 so most of the code would still apply.

jlpeyret
Автор

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.

TheDarrenJones
Автор

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

AmanSingh-kpzw
Автор

what if the category was a multiSelectField?

WattsInnovation