Django - Model


With django ORM, can we still write our own SQL statements?

Yes. Define your data models entirely in Python. You get a rich, dynamic database-access API for free — but you can still write SQL if needed.

How can we create a model?

Your models should be created inside the

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License