'Does changing Django database backend require code modification?

I'm currently using sqlite3 as Django database backend. However I'm looking forward to use MySQL in the future. Does changing database backend require source code modifications such as models.py, forms.py, views.py..etc.(other than files that link Django to DB such as settings.py)

My guess(not sure) : As my codes interacting with database backend are written in python scripts(not SQL) I guess no source code modification will be needed since it means Django automatically generates SQL querys with my python codes that match with current linked database backend.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source