P
P
pzverr2014-11-14 18:13:13
Django
pzverr, 2014-11-14 18:13:13

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

1 answer(s)
O
overmes, 2014-11-14
@overmes

here stackoverflow.com/questions/7933596/django-dynamic...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question