Hi Alec,
Have you been able to find a multi-tenant solution for django?
Thanks,
Caleb
On Tuesday, May 8, 2012 10:02:45 PM UTC-5, Alec Taylor wrote:
>
> Dear Django-developers,
>
> I've been using Django for a few months now, and recently—for
> different projects—started using the web-framewor
Please do not crosspost to both django-users and django-developers: pick
the correct list and post there. The topic of this list is the development
of Django itself, questions about using Django are suited to django-users,
not here.
Karen
--
You received this message because you are subscribed t
Hi Group,
could someone please help me with -
http://stackoverflow.com/questions/17184386/providing-admin-actions-to-group-members-in-a-multi-tenant-django-crm-applicatio
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Django developers"
I played around a bit with using this, and got something quite workable
going on.
https://bitbucket.org/schinckel/django-multi-schema
It's really only an exploration, but does show that it can be done.
The problems actually really only got hard once you factor south into the
equation.
There a
On May 23, 3:16 am, Anthony Briggs wrote:
> I did a similar thing for some of my projects - the problem is that you
> can't reuse any non-multitenant apps without hacking the multitenant stuff
> in first, ie. it's a bit of a hack, plus it makes things harder to maintain
> going forwards.
>
> One d
I wanted to point out that Mezzanine doesn't actually just use
django.contrib.sites. Mezzanine uses django.contrib.sites and thread
locals. The way it is set up example1.com and example2.com can both
be driven by the exact same django instance but have different
content. The third paragraph in t
I did a similar thing for some of my projects - the problem is that you
can't reuse any non-multitenant apps without hacking the multitenant stuff
in first, ie. it's a bit of a hack, plus it makes things harder to maintain
going forwards.
One database per tenant should (in theory) make life much s
The "migrating models on every database issue" can be solved easily by
creating a command that calls the specified one using `call_command` and
passing the correct `db` kwarg to the underlying one.
Say you have installed South and want to call the `migrate` with two
underlying dbs.
./manage.py
Hello guys,
Have you guys taken a look at
https://github.com/phugoid/django-simple-multitenant?
I'm not a big fan of one database per tenant as I think this can get quite
out of hand very easily (migrating models on every single database). The
app linked above simply adds a foreign key to all
On May 16, 12:18 am, charettes wrote:
> Using django-hosts I managed to put together a simple setup that maps
> subdomains to databases.
>
> First, I have a default database with a table mapping sudomains to database
> name and a middleware that tries to load the correct object based on the
> matc
Using django-hosts I managed to put together a simple setup that maps
subdomains to databases.
First, I have a default database with a table mapping sudomains to database
name and a middleware that tries to load the correct object based on the
match provided by django-hosts.
In my settings I h
Thanks Anthony,
Looking forward to seeing your results :)
On Tue, May 15, 2012 at 7:30 PM, Anthony Briggs
wrote:
> Hi Alec,
>
> One of the science experiments on my todo list is to try and set up one of
> the fancy new database routers (possibly with get_current_site() or
> similar) and see if I
Hi Alec,
One of the science experiments on my todo list is to try and set up one of
the fancy new database routers (possibly with get_current_site() or
similar) and
see if I can serve multiple sites+databases from the same Django instance.
Not sure if that helps, or even it it'll work, but if it
Alec,
Mezzanine is using standard django.contrib.sites. Nothing special
there. The main issue with the sites framework is that each site runs
using a separate process and settings, so the resources can add up
depending on how you setup the stack, and managing the tenants becomes
the issue as they
Hi Alec,
This is tracked in https://code.djangoproject.com/ticket/15089, isn't it?
Best regards,
--
Aymeric.
Le 9 mai 2012 à 05:02, Alec Taylor a écrit :
> Dear Django-developers,
>
> I've been using Django for a few months now, and recently—for
> different projects—started using the web-fr
15 matches
Mail list logo