Python Forum

Full Version: Best way to create Apps in django API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Which is the best way to create an API website using django, i found in github some sources that merge all objects in one app, and others each objects with its own app.
I'm asking about who is the best way, for example in e-commerce web site they have some objects like Products, Carts, Orders, Users, Billing...
Do you create app for each objects (products, carts, orders...) or create all objects in one app.

This is an example of each objects with its own app.
https://github.com/mirumee/saleor

And this merges all objects in one app.
https://github.com/damnee562/shopping-cart