As I'm reading the Django documentation, I see this in the example:
from django.db import models
class HandField(models.Field):
description = "A hand of cards (bridge style)"
def __init__(self, *args, **kwargs):
kwargs['max_length'] = 104
super(HandField, self).__init__(*args, **kwargs)
I dont understand why the call to super is:
super(HandField, self).__init__(*args, **kwargs)
whereas (coming from C programming) I thought it should be:
super(HandField, self).__init__(args, kwargs)
How comes?
Yes. And I'm not asking what mean "*
" and "**
" (link marked as a duplicate), I'm asking why it's not re-sent without the star = why it's re-sent to parent with the stars, which means to me: "dictionary of a dictionary". And my question is different from the duplicate link, and the duplicate link doesnt answer to my question.