R
R
Rostislav Biloshapka2018-10-02 18:05:17
Django
Rostislav Biloshapka, 2018-10-02 18:05:17

Reloading models in Django?

Has anyone dealt with "Reloading models" in Django?
now I’m doing it through a metaclass in a function (
is it normal to do this? unfortunately there was no such practice, but now there are a lot of tables with the same structure, which are distinguished by a prefix of a certain region.
unfortunately I can’t use partition.
what is the best way to do it in this case?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question