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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -