Answer the question
In order to leave comments, you need to log in
How to create table from model in django 1.6 ?
Hello.
Not so long ago I started working with django, and the task arose to implement dynamic models .
Actually, there were no problems with this, the problem is to make a table in the database (mysql) from the newly made model, the method indicated in the article does not work, I redid it a little by changing sql_model_create to custom_sql_for_model, but not so good, model table was not created. Please tell me where to dig.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question