Hello anyone work on Django? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello anyone work on Django?

I create form in django using Post method and the details are saving in sqlite which is using by default now when I changed the database to MySQL and successfully migrate it but the problem is the form I made i want to show my data in MySQL database. Can anyone provide me any YouTube videos or any guidance like how can I change my code to connect with that database to show my form details there.

27th Apr 2023, 6:30 PM
Akash Gupta
Akash Gupta - avatar
2 Answers
+ 2
Akash Gupta I have never done this, but here is a guide to doing this: https://pythonfusion.com/switch-database-django/ also https://www.rockandnull.com/django-dumpdata/ Would like to know if it works or not.
28th Apr 2023, 12:53 AM
Bob_Li
Bob_Li - avatar
0
Bob_Li thanks
28th Apr 2023, 6:48 PM
Akash Gupta
Akash Gupta - avatar