-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does Admin work with tenant-schemas? #44
Comments
Hi, I'm trying to setup a multi-tenant-schema database with one admin for each tenant. Is it possible? When I add a tenant model object into the public schema using the admin, i get the following error: insert or update on table "django_admin_log" violates foreign key constraint "django_admin_log_user_id_fkey" I supose that it reffers to the TENANT_APPS django.contrib.auth... These are my settings: SHARED_APPS = (
) TENANT_APPS = ( If it is not the right place to get support, please, let me know who can help me. Thanks in advance! Guillem |
@Barnalite. This is a weird error considering you have admin and auth 2013/6/7 Barnalite notifications@github.com
Bernardo Pires Carneiro |
@bcarneiro Hi. I'm so new in Django stuff and I'd like to get a litle more information on how to use the django-tenant-schemas. Cause I think that I'm missing something... which is the best way to that? writing my questions here? or is it possible to send a private message anyhow? Thanks! |
Read the documentation and create a new issue explaining what you don't 2013/6/9 Barnalite notifications@github.com
Bernardo Pires Carneiro |
Hi - Great package! It's really clean and easy to use so far. As I'm playing with it, I'm having some trouble getting the Admin stuff to work. I'm trying to setup Admin on the main tenant, but having some trouble with tenant-schemas attaching /main/ to the url. Also, the main admin be able to view data in the other schemas, or am I supposed to setup a superuser for each new tenant?
The text was updated successfully, but these errors were encountered: