python - PostgreSQL and MySQL with Django -


i able create first app django using default sqlite3. checking tutorials on how install mysql , postgresql , connect django can develop more advanced application. thing cannot understand, models.py still same in term of syntax? mean syntax in creating table in mysql different on how create table in models.py. mean, need clarification please in matter. thank you.

exactly karlson says in comments, django abstracts models away database engine, changing your settings, changing database backend used handles conversion model fields database field types


Comments

Popular posts from this blog

C++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - malformed header from script index.py Bad header -