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

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

Matt Freire

5 лет назад

27,190 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@drewanderson5867
@drewanderson5867 - 28.06.2022 17:27

really good django tutorial

Ответить
@gregruiz921
@gregruiz921 - 11.03.2022 16:36

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

Ответить
@eesakamaldien1917
@eesakamaldien1917 - 08.03.2022 17:20

Hi can this be used off model methods aswell?

Ответить
@DanielLeachTen
@DanielLeachTen - 01.11.2021 08:47

You are a godsend

Ответить
@deborahfieldswatson4879
@deborahfieldswatson4879 - 17.08.2021 03:47

what if the category was a multiSelectField?

Ответить
@whonayem01
@whonayem01 - 16.04.2021 03:46

Thanks!

Ответить
@ab5comau
@ab5comau - 07.04.2021 07:00

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.

Ответить
@malikrumi1206
@malikrumi1206 - 28.03.2021 00:29

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

Ответить
@skelaw
@skelaw - 02.03.2021 22:03

Great job! How can I support you?

Ответить
@sudipgupta87
@sudipgupta87 - 02.10.2020 22:52

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

Ответить
@ThalesTheDuck
@ThalesTheDuck - 02.08.2020 06:17

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

Ответить
@doniyorabduvokhidov1706
@doniyorabduvokhidov1706 - 12.07.2020 13:39

Cooll

Ответить
@doniyorabduvokhidov1706
@doniyorabduvokhidov1706 - 11.07.2020 22:06

{% empty %}
No results found

Ответить
@Jane-eunku
@Jane-eunku - 29.04.2020 13:23

훌륭한 강의입니다! Great Tutorial!

Ответить
@Boga_adventures
@Boga_adventures - 11.02.2020 03:18

GREAT

Ответить
@alizeeboussac4087
@alizeeboussac4087 - 22.01.2020 16:22

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

Ответить
@jlpeyret
@jlpeyret - 18.10.2019 06:15

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.

Ответить
@savannahgilmour2325
@savannahgilmour2325 - 29.05.2019 22:23

AWESOME.

Ответить
@anoopkg8681
@anoopkg8681 - 12.04.2019 12:37

awesome

Ответить
@lucastavares4908
@lucastavares4908 - 09.04.2019 01:29

Awesome video!!

Ответить
@TheDarrenJones
@TheDarrenJones - 09.04.2019 00:33

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.

Ответить
@MrSirRedy
@MrSirRedy - 08.04.2019 14:18

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.

Ответить