#34609: Deprecate format_html calls without args or kwargs
--------------------------------------+------------------------------------
Reporter: Adam Johnson | Owner: Bhuvnesh
Type: Cleanup/optimization | Status: assigned
Component: Utilities | Version: dev
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 Michael Howitz):
@Bhuvnesh The issues talks about deprecating that args resp. kwargs can be
missing.
By raising an exception your suggested change make it impossible to call
the function without these parameters. Maybe this is a bit too harsh.
See also https://docs.djangoproject.com/en/dev/internals/release-process
/#internal-release-deprecation-policy for documentation how to deprecate a
feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/34609#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/0107018876f81fed-c7807145-feec-40ce-ba62-71f1c213571b-000000%40eu-central-1.amazonses.com.