django rest framework - Should every DRF API point be in a single view? -
i have project has large number of drf api points. there usual authentication ones, , there's api getting widgets, api getting dongles, 1 getting cake, etc.
there number of api points posting data server.
the question:
should these api points in single view? note don't have widget app, nor have dongle app, etc. understand if there separate apps everything, organise things, right there's 1 app large number of api points.
i'm thinking if put them in single view, view huge.
is there best practice this?
thank you.
Comments
Post a Comment