Database in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Database in python

Which Database is more appropriate for python and is it possible to use a database except MySQL for Django framework

29th Jul 2023, 5:53 PM
Amir Zamani
Amir Zamani - avatar
19 Answers
+ 5
I will suggest MySQL
29th Jul 2023, 7:55 PM
Aweneg Rooney
Aweneg Rooney - avatar
+ 3
I don't really understand your question
29th Jul 2023, 7:51 PM
Aweneg Rooney
Aweneg Rooney - avatar
+ 2
What is the best database for python
29th Jul 2023, 7:53 PM
Amir Zamani
Amir Zamani - avatar
+ 2
Yes it can
29th Jul 2023, 7:58 PM
Aweneg Rooney
Aweneg Rooney - avatar
+ 1
If you need a lightweight and self-contained database for local storage, SQLite is a good 👍
30th Jul 2023, 2:25 PM
Abdul Raheem
Abdul Raheem - avatar
+ 1
Exactly
30th Jul 2023, 3:39 PM
Aweneg Rooney
Aweneg Rooney - avatar
+ 1
Django is the best, it has implimentations for all sql forms and is supper easy to use if you have mastered python basics
30th Jul 2023, 11:23 PM
Zeusofyogurt
Zeusofyogurt - avatar
+ 1
PostgreSQL is perfect in Django projects
31st Jul 2023, 4:55 PM
ALhassan Mabrouk
ALhassan Mabrouk - avatar
0
Can I use it for web applications?
29th Jul 2023, 7:57 PM
Amir Zamani
Amir Zamani - avatar
0
Thanks
29th Jul 2023, 8:04 PM
Amir Zamani
Amir Zamani - avatar
0
Your welcome
29th Jul 2023, 8:05 PM
Aweneg Rooney
Aweneg Rooney - avatar
0
I think the best db is postgres, the most common is mysql (but I think now the reference is mariadb) and the most suitable for small projects is sqllite
30th Jul 2023, 4:41 AM
Giordano Balanzo
Giordano Balanzo - avatar
0
MySQL is a best to work with Python
30th Jul 2023, 2:58 PM
Sâñtôsh
Sâñtôsh - avatar
0
Django is a db?
30th Jul 2023, 11:29 PM
Giordano Balanzo
Giordano Balanzo - avatar
0
sqlite5 module
31st Jul 2023, 5:56 AM
Raven Ferriols
Raven Ferriols - avatar
0
You can also use PostGreSQL. There is an example at W3Schools how to configure that in Django.
31st Jul 2023, 7:10 AM
Jan
Jan - avatar
0
MySQL is appropriate for python
31st Jul 2023, 5:06 PM
Ravi Varma
Ravi Varma - avatar
0
Amir Zamani For Python, SQLite is often considered the most appropriate database for small to medium-sized projects due to its simplicity and easy integration with Python. However, for larger projects or ones that require more advanced features, PostgreSQL and MySQL are popular choices. Yes, it is absolutely possible to use databases other than MySQL with Django framework. Django supports multiple databases through its database abstraction layer. You can configure Django to work with databases like PostgreSQL, Oracle, SQLite, and others by changing the settings in your Django project's configuration file. This flexibility allows you to choose the most suitable database for your specific project needs.
31st Jul 2023, 5:20 PM
‎ ຸ
0
Hi Amir I'm working with Postgresql and I recommend it!
31st Jul 2023, 5:36 PM
Mohammad Reza Rahmati
Mohammad Reza Rahmati - avatar