Wednesday, April 30, 2014

Re: Best practice - evolving from one to several sites using Django

if I'm not mistaken having a multi tentant django deploy means they will share the same DB
I suggest having separate deployments for each site, as for sharing code you should create an app which is the shared code and put in version control and all your deployments would update from the same repository
the code could be the same but most of the time there should be many different files, settings.py, templates, static files etc so putting all the common code in a separate app would make sense at least to me

good luck


On Wed, Apr 30, 2014 at 4:07 PM, Ari Davidow <aridavidow@gmail.com> wrote:
Hi,

I am new to this group and new to Django. I have several websites that I want to drag into the current century. Initially I planned to do this with Drupal and know that it is relatively simple to add configuration information, modules, themes, for new sites using one Drupal installation.

What would be best practice for doing this in Django, knowing that I need to start off with the simplest site and then add additional domains as I have time and get more facile? My goal is to keep theming, most tables, etc., separate, but to have one django codebase to patch and to keep current.

Some areas of overlap: possible blog entries, a calendar of events, different views into a database of people involved in overlapping communities.

I see the terms "multisite" and "multi-tenant" used, but am not sure what each of these means in the context of django.

Many thanks,
Ari

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/370c1a46-030d-44cb-a65d-62b1beb86b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tKPa49cBr%3DnhcMbhze7Mh23pRNgtm2JhuVU2K-MYZbjcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment