python - Django attribute assignment, understanding the documentation -


i see django doc:

models.decimalfield(..., max_digits=5, decimal_places=2) 

can explain dose ..., mean in attributes assignment?

it means arguments have in call.

you can think of "in addition to".

all django model fields have common options, passed in key/value pairs constructor. these in addition to those:

"in addition other arguments, add these arguments store numbers 999 resolution of 2 decimal places."


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -