--
Ticket URL: <https://code.djangoproject.com/ticket/32621>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> Hi,
> I've noticed that some class names don't follow pep 8 and it's quite
> annoying to either remember or search for the right name.
> What I know of rn is `JsonResponse` (which is right) and classes like
> `JSONField`, `JSONCatalog`, `JSONString` and some more.
> Would be nice to change the class names some time to `Json` and for
> backward compatibility do `JSONField = JsonField`
New description:
Hi,
I've noticed that some class names don't follow pep 8 and it's quite
annoying to either remember or search for the right name.
What comes to mind rn is `JsonResponse` (which is ok) and classes like
`JSONField`, `JSONCatalog`, `JSONString` and some more.
Would be nice to change the class names some time to `Json` and for
backward compatibility do `JSONField = JsonField`
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32621#comment:1>
Old description:
> Hi,
> I've noticed that some class names don't follow pep 8 and it's quite
> annoying to either remember or search for the right name.
> What comes to mind rn is `JsonResponse` (which is ok) and classes like
> `JSONField`, `JSONCatalog`, `JSONString` and some more.
> Would be nice to change the class names some time to `Json` and for
> backward compatibility do `JSONField = JsonField`
New description:
Hi,
I've noticed that some class names don't follow pep 8 and it's quite
annoying to either remember or search for the right name.
What comes to mind rn is `JsonResponse` (which is ok) and classes like
`JSONField`, `JSONCatalog`, `JSONString` and some more.
Would be nice to change the class names some time to `Json` and for
backward compatibility to do `JSONField = JsonField`
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32621#comment:2>
* status: new => closed
* resolution: => wontfix
* component: Uncategorized => Core (Other)
Comment:
Thanks for this proposition.
> What comes to mind rn is JsonResponse (which is ok) and classes like
JSONField, JSONCatalog, JSONString and some more.
I would rather do the opposite, as suggested in #22895 and as we did for a
new API, e.g. `ASGIRequest`, `ASGIHandler`. Nonetheless, it's not worth to
change an existing API.
--
Ticket URL: <https://code.djangoproject.com/ticket/32621#comment:3>