2

I have several sql CREATE querys.How do I create models for them(not manually).

4
  • 1
    I got the answer This Commented Sep 21, 2011 at 6:38
  • 1
    Jibins link holds the answer to your question. Commented Sep 21, 2011 at 6:57
  • 1
    I'm sure Jibin knows that Jibins link holds the answer :D Commented 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. Commented Oct 23, 2020 at 22:09

1 Answer 1

2

Here

I got the answer to my question(as mentioned in my comment). But I is was reviewing of my stalkoverflow profile and I saw this question unanswered and unclosed.So have pasted the link to the answer once again.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.