IMO this should be done in view if it's just for display purposes in
rendered page.
Although, the best method is doing it in a template tag.
Regards,
Sencer HAMARAT
On Tue, Jan 21, 2020 at 3:30 PM Mario Bisiani
wrote:
> Good morning,
>
> first post here!
>
> I have a quesion for you. I need t
Good morning,
first post here!
I have a quesion for you. I need to have a calculated field from two
attribute of different class in model.py. Which is the best practice to
perform calcs : in model.py by function or in the view.py?
In the case of model.py how can i access the atribut of the dif
2 matches
Mail list logo