R
R
Ribachok2020-08-05 19:26:34
MySQL
Ribachok, 2020-08-05 19:26:34

Getting model from connected MYSQL database?

I need to get a pre-created (not in my code) model from the MYSQl database connected in settings.py, which can change, and these changes should also be with me. How to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2020-08-05
@Ribachok

I need to get a pre-created (not in my code) model from the MYSQl database connected in settings.py

Tyk
which can change, and these changes should also be with me

Nothing, except because at some point your application will start to crash if some columns from the table are deleted or changed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question