Re: Multiple Django projects using the same database

2015-03-30 Thread Ien C.
All makes sense, thanks again! --Ien On Sunday, March 29, 2015 at 11:25:41 PM UTC-4, Russell Keith-Magee wrote: > > > On Mon, Mar 30, 2015 at 10:20 AM, Ien C. > > wrote: > >> Thanks Russ! >> >> Good point about the validation logic. Will definitely keep

Re: Multiple Django projects using the same database

2015-03-29 Thread Ien C.
Thanks Russ! Good point about the validation logic. Will definitely keep that in mind. And yes, my basic approach here is the same code base working on different subsets of data by default, with the ability for data to be optionally "seen" by both sites as needed. One more question: there's n

Multiple Django projects using the same database

2015-03-29 Thread Ien C.
Hi everyone, I'm hoping to confirm my understanding on how to deploy multiple Django websites using the same database, using postgres and gunicorn/nginx. Doing this seems to me as simple as: 1. Creating a copy of the Django project in its own directory, with its own settings.py etc. 2. Keep th