It isn't possible to share a local db between two apps.
Here are the alternatives you can use:
- Create api's for all the operations you want to perform.
- Use an hosted db service(e.g. Postgres on heroku).
On Wed, Sep 4, 2019 at 10:39 AM Balaji Shetty <balajishetty@gmail.com> wrote:
--Hi EveryoneCan anybody suggest meHow can i share one Database Sqlite between 2 app on pythonanywhere.Currently i have deployed one project on PythonAnywhere.I have purchases 2 App.Now i can execute 2 App simultaneous.I have deployed app1.pythonanywhere.com and app2.pythonanywhere.comapp1.pythonanywhere.com is my real time hosted project. Before making any changes, i create mirror copy of code and Database Sqlite on app2.pythonanywhere.com, make changes and if changes are proper. I make changes inBut it is time consuming Process. Better solution may be share database and make changes in Business Logic and reflect in orignal one.My Simple Question isHow can i share sqlite database between two Project here.ORIs there any other way to do the same thing more efficiently?Thanks in Advance.--Mr. Shetty Balaji S.
Asst. Professor
Department of Information Technology,SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.IndiaOfficial: bsshetty@sggs.ac.inMobile: +91-9270696267
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAECSbOv7vBQ8hxZBoPf2PvVgUY2NS-44-yvLuprbphdvN1ZJYw%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BG34NBKyjK5WHkhqBS9f0JADeXU5mwu129MK_UHGF8pfXry2g%40mail.gmail.com.
No comments:
Post a Comment