I have several sql CREATE querys.How do I create models for them(not manually).
-
1I got the answer ThisJibin– Jibin2011-09-21 06:38:20 +00:00Commented Sep 21, 2011 at 6:38
-
1Jibins link holds the answer to your question.Jens– Jens2011-09-21 06:57:40 +00:00Commented Sep 21, 2011 at 6:57
-
1I'm sure Jibin knows that Jibins link holds the answer :Dj0ker– j0ker2011-09-21 07:28:19 +00:00Commented Sep 21, 2011 at 7:28
-
Unfortunately not all database adapters have introspection support built in. Like the django-sqlany adapter. Dumping a "CREATE TABLE" statement into a utility to create a model would be seriously handy.user183240– user1832402020-10-23 22:09:21 +00:00Commented Oct 23, 2020 at 22:09
Add a comment
|