How To Add Calculated Fields To Models - Django Wednesdays #40

How To Add Calculated Fields To Models - Django Wednesdays #40

Codemy.com

2 года назад

21,751 Просмотров

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


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

Bruno Mandela
Bruno Mandela - 06.09.2023 03:28

yo man you have no idea how this has helped out even that second @properties you did ,esspecially that one, fixed a lot of problems for me. Keep making more great content and stay blessed brother.

Ответить
fr0zeneye100
fr0zeneye100 - 13.07.2023 08:52

pretty cool, except doing exactly that, no access to the property... No idea what causes that issue.

Ответить
Collen89 C
Collen89 C - 19.05.2023 10:27

Thanks my man you realy saved the day , great video

Assist pliz -- how do i compare todays current time and event time

Ответить
1412 kaito
1412 kaito - 16.04.2023 21:12

Okay, so what would the steps be if i want to store some calculated info. in the forms and make i non-editable for non-admins?

Ответить
Matthew Cox
Matthew Cox - 05.12.2022 21:24

Hey John- perhaps I haven't dived deep enough, but do you have a video on paginating the returned searches?

Ответить
charles englebert
charles englebert - 16.09.2022 12:35

hello

How to make computed field available in admin ?

Ответить
TheGodfather360
TheGodfather360 - 04.07.2022 21:01

Hi, I have two models and the names are Budget and Transaction. One budget can have multiple transactions, I would like to sum each transaction and subtract the total from the particular budget. I used the @property decorator, but how include this calculation from different models. Thanks in advance!

Ответить
Nadir Nacef
Nadir Nacef - 16.05.2022 18:16

I like this guy he looks like Walter white from the breaking bad serie

Ответить
Mahendra Kumara S
Mahendra Kumara S - 03.04.2022 10:12

This video really saves my day, and all your videos are awesome.

Ответить
POUOiZa
POUOiZa - 23.01.2022 11:56

Thank you so much sir.😷

Ответить
POUOiZa
POUOiZa - 23.01.2022 11:04

Thank you so must Sir

Ответить
Made Sastra
Made Sastra - 07.01.2022 07:20

Great video. So simple and straightforward👍

Ответить
Yasa Yah
Yasa Yah - 31.12.2021 01:55

Merveilleux merci! Would be nice to add email notifications via dropdown email list as an event approaches a certain number of days. Additionally a dashboard with total number of events as well as breakdown number of events of event type...j'apprécie ton tuto merci :)

Ответить
Adrian
Adrian - 30.12.2021 19:47

Whenever I click my menu item, my label along with what’s on the GUI gradually keep going down with every click of it. How do you fix that, if you could link the video to that, it would be great.
You’re amazing btw, I learn from your videos all the time

Ответить
Km Down
Km Down - 30.12.2021 01:25

Please Make a video on how to host django site free to show our friends...

Ответить
Adrian
Adrian - 30.12.2021 01:03

I have a few questions. I’m making a flashcard project, I followed your tutorial for the language one but to take it further I want to use SQLite to store the words. I’ve already created my table how do I call the contents for it to be displayed on the GUI of the flashcard.

Also I have a menu but when I click between the menu the contents of it gradually go further and further down. How do I make it stay stationary when I switch between the menu items

Ответить
MrElectrecity
MrElectrecity - 29.12.2021 23:20

Quick tip 😁
You can use date template tag to print only the date
Thanks for your works sharing
💖💖💖💖

Ответить