[Django] #33118: JSON Generic view

5 views
Skip to first unread message

Django

unread,
Sep 18, 2021, 1:24:05 AM9/18/21
to django-...@googlegroups.com
#33118: JSON Generic view
-------------------------------------------+------------------------
Reporter: Arian Ebrahimi | Owner: nobody
Type: New feature | Status: new
Component: Generic views | Version: dev
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 |
-------------------------------------------+------------------------
This Will going to be very great if we have JSON Generic view for ajax
calls and other usage without have to use serializer and others stuff

Best regards

--
Ticket URL: <https://code.djangoproject.com/ticket/33118>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 18, 2021, 7:30:45 AM9/18/21
to django-...@googlegroups.com
#33118: JSON Generic view
---------------------------------+--------------------------------------

Reporter: Arian Ebrahimi | Owner: nobody
Type: New feature | Status: closed

Component: Generic views | Version: dev
Severity: Normal | Resolution: wontfix

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => wontfix


Comment:

I think this would need some consensus on the DevelopersMailingList. I'm
not convinced that a generic class would be useful in many cases. It's
also [https://docs.djangoproject.com/en/stable/topics/class-based-
views/mixins/#more-than-just-html documented] how to create a mixin if
you’re writing an API, and every view should return JSON instead of
rendered HTML.

--
Ticket URL: <https://code.djangoproject.com/ticket/33118#comment:1>

Reply all
Reply to author
Forward
0 new messages