I have django connected to SQL Server with django-pyodbc-azure. I am brand new to django. I created a model in django models.py, and I was able to migrate the model to SQL Server. All the proper tables are created.
I have historical data that will be eventually served up by the app. Is it possible to access an existing table that holds this historical data in the same DB? Or is it smarter to simply load the historical data into the new table that was created by django?
Conceptually, I would think it would be possible to make models (either through inspectdb or manually) for existing tables. However, adding those models would cause django to create new tables when migrations are performed, rather than recognizing that the tables already exist.
What is best practice? I think it might be cleaner to create all new tables, and then set up jobs in the agent to load historical data into those new tables.