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

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -