Hi Carles,
return super(...) is better. Because if the base class decides to return a
value sometime in the future, you are all set.
Uri.
אורי
u...@speedy.net
On Wed, Dec 1, 2021 at 12:14 AM Carles Pina i Estany
wrote:
>
> Hi django-users,
>
> I have a a question that I don't know where to
Currently I tend to go for the "super().save(*args, **kwargs)" (no
unnecessary return) as done in the Django documentation and to be
explicit in the present (it doesn't return anything)... but I have my
own doubts :-)
I would return the result from super() It may return None, but so do
you
Hi django-users,
I have a a question that I don't know where to send. Since it happened
programming in Django and I usually read this list I thought of sending
it here. I would like to ask if someone has strong feelings or if I
have missed some styling documentation.
This could be a generic
3 matches
Mail list logo