shlogg · Early preview
Sm0Ke @sm0kedev

How To Use MySql With Django And Switch From SQLite Database

Switch from SQLite to MySql in Django: Install MySql Server & driver, create database & user, update settings.py and run migrations.

Hello Coders,
This article explains How to use MySql with Django and switch from the default SQLite database to a production-ready DBMS (MySql). This topic might sound like a trivial subject but during my support sessions, I got this question over and over, especially from beginners. 

👉 Django Admin Panels - a curated list

For newcomers, Django is a leading Python web framework built by experts using a bateries-included concept. Being such a mature framework, Django provides an easy way to switch from the default SQLite database to other database engines like MySql, PostgreSQL, or Oracle. M...