Forums

Help with connecting local django project to pythonanywhere db (I am using a paid account)

I need help with connecting the local django project with pythonanywhere's DB. I am currently using my own local db , if I host my django site on python anywhere and then access the pythonwhere DB finally That should work right ?

Hey, check out this help page - https://help.pythonanywhere.com/pages/AccessingMySQLFromOutsidePythonAnywhere

I did go through the article , But I thought there would be some other way to implement it in django , I am running short on time , so I guess I must change the DB after I clone the repo in to pythonanywhere's infrastructure. That should work as well , right ?

Yes, that should work