In a project, I'm implementing using
Django
framework, I have two applications:
- Application responsible for REST API, containing production
models.py
file.
- Application responsible for Web client, that uses REST API's models.
Both of them contain vast static files and hierarchy of additional source code, that is why it came to my mind to split this responsibilities into two apps, rather than different
views.py
and
urls.py
files inside of one application.
Because application responsible for Web relies entirely on REST API's models is it a good practice to delete
models.py
file from this application entirely?