[Answer]-Using Django-genereted SQL tables in another project

1đź‘Ť

âś…

Is it considered a normal practice?

To me seems a bad practice. Really bad practice. Django owns that data and makes sense that only the owning application can access that data.

Is it possible to break any “Django-side things” this way? Like, migrations or whatever else it could be?

If you don’t change the table structures, and don’t mess with Django admin tables, you won’t break the django side of things

I would suggest making the Django application a service. Whichever application needs data managed by Django can request it, and Django is responsible for handling that data. Take a look at http://www.django-rest-framework.org/ and if you don’t know about REST or SOA take a look at those.

👤ibrabeicker

Leave a comment