sub accounts in django

199 views
Skip to first unread message

Mehdy M. Haghy

unread,
May 18, 2016, 12:04:02 PM5/18/16
to Django users
Creating sub accounts is a pretty common scenario.
you have clients like (copmany1, company2, ..., company N)
and they have their own users, roles and permissions.
any recommendation on how to implement this or any package recommendation?

Javier Guerra Giraldez

unread,
May 19, 2016, 5:19:04 AM5/19/16
to django...@googlegroups.com
that's commonly known as "multitenant" applications. there are
several approaches to do it, and quite a few packages to help with
either.



--
Javier

M Hashmi

unread,
May 19, 2016, 9:02:22 AM5/19/16
to Django users
Can you explain one of those approaches or provide a web reference with complete A to Z implementaiton?

Christian Ledermann

unread,
May 19, 2016, 9:21:20 AM5/19/16
to django...@googlegroups.com
https://docs.djangoproject.com/en/1.9/ref/contrib/sites/
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6be76ebf-0d6b-4d53-97d3-3bf8a0c3cdb4%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Best Regards,

Christian Ledermann

Newark-on-Trent - UK
Mobile : +44 7474997517

https://uk.linkedin.com/in/christianledermann
https://github.com/cleder/


<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

Christian Ledermann

unread,
May 19, 2016, 9:28:06 AM5/19/16
to django...@googlegroups.com

Ben Lopatin

unread,
May 19, 2016, 9:36:44 AM5/19/16
to Django users
This is the scenario I wrote django-organizations to handle (http://django-organizations.readthedocs.io/en/latest/).
Reply all
Reply to author
Forward
0 new messages