#35060: Make Model.save() arguments keyword-only
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):
Replying to [comment:5 Adam Johnson]:
> Nice one. If this ticket goes well, it might serve as a template for
making some other functions keyword-only, such as `models.Field.__init__`
(except the first two args, `verbose_name` and `name`).
We already have "templates" for such deprecations e.g.
ad18a0102cc2968914232814c6554763f15abbe3 or
b8738aea14446b267a47087b52b38a98b440a6aa.
--
Ticket URL: <https://code.djangoproject.com/ticket/35060#comment:6>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018cb3e7f564-71f5455f-c3a9-4e9d-b8c4-9d3896a88b5a-000000%40eu-central-1.amazonses.com.