#36963: JSONField("ContactInfo", default=contact_default) i think you need to
discribe more about the passed function
-------------------------------------+-------------------------------------
Reporter: yousef_fadli | Type:
| Cleanup/optimization
Status: new | Component:
| Documentation
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
https://docs.djangoproject.com/en/6.0/ref/models/fields/#default
i think you need to describe more about the function in
`default=contact_default.`
The question is :
If this function is defined inside the actual class, should it be a
**static method** or a **class method** or a **normal object method** ?
thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/36963>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019ca941a89c-26fbdd3a-5cbc-44ef-8a97-f738741596cd-000000%40eu-central-1.amazonses.com.