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 <[email protected]> wrote: > Hi Everyone > > Can anybody suggest me > How 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.com > > app1.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 in > app1.pythonanywhere.com. > > But 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 is > How can i share sqlite database between two Project here. > > OR > > Is there any other way to do the same thing more efficiently? > > Thanks in Advance. > -- > > > *Mr. Shetty Balaji S.Asst. ProfessorDepartment of Information Technology,* > *SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India* > *Official: [email protected] <[email protected]> * > * Mobile: +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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAECSbOv7vBQ8hxZBoPf2PvVgUY2NS-44-yvLuprbphdvN1ZJYw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAECSbOv7vBQ8hxZBoPf2PvVgUY2NS-44-yvLuprbphdvN1ZJYw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BG34NBKyjK5WHkhqBS9f0JADeXU5mwu129MK_UHGF8pfXry2g%40mail.gmail.com.

