Opened 3 years ago
Closed 3 years ago
#33118 closed New feature (wontfix)
JSON Generic view
Reported by: | Arian Ebrahimi | Owned by: | nobody |
---|---|---|---|
Component: | Generic views | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
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
Note:
See TracTickets
for help on using tickets.
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 documented how to create a mixin if you’re writing an API, and every view should return JSON instead of rendered HTML.