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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -