mostly separates the business logic and the domain knowledge (there are a couple of places the commerce/models.py that needs to be moved to commerce/services.py)
updates load_sample_data.py file
fixes the circular import in the main branch
Note that the service file for commerce app is not complete yet.
Future work:
completely separate the business logic and the domain knowledge for commerce app
create another file named filters.py in commerce to delegate filtering operations
check the previous api and make sure everything related to commerce is implemented in the new implementation
This PR:
commerce/models.py
that needs to be moved tocommerce/services.py
)load_sample_data.py
fileNote that the service file for
commerce
app is not complete yet.Future work:
commerce
appfilters.py
incommerce
to delegate filtering operationscommerce
is implemented in the new implementation