Code Monkey home page Code Monkey logo

Comments (5)

juliocesar-io avatar juliocesar-io commented on June 17, 2024 1

Hi guys, I know it's been a lot time since this discussion but I din't found much in the docs. If I setup a separate WSGI settings, how do I declare database settings? Should I use the default postgresql backend for django? How do I manage the migrations? And in this separate settings the django-tenant-shemas app would exist at all ?

from django-tenant-schemas.

bernardopires avatar bernardopires commented on June 17, 2024

I don't understand what PUBLIC_SCHEMA_URLCONF has to do with issue #43? Is the objective here just to save one query?

SHARED_APPS contain data that can be accessed from any of the tenants plus the public schema.

from django-tenant-schemas.

kissgyorgy avatar kissgyorgy commented on June 17, 2024

I don't understand what PUBLIC_SCHEMA_URLCONF has to do with issue #43?

Nothing, I just quoted things what came up there.

Is the objective here just to save one query?

Not just that, but simplify things overall. Things get very complicated if you try to use for example a CMS for the main website with data from public schema.

SHARED_APPS contain data that can be accessed from any of the tenants plus the public schema.

Currently this is not true, as you can't put auth or admin in only to SHARED_APPS.

from django-tenant-schemas.

bernardopires avatar bernardopires commented on June 17, 2024

Well, PUBLIC_SCHEMA_URLCONF is already optional, so I wouldn't like to remove it. Your idea/alternative about a separate wsgi_app is very good and would be very nice to have in the docs!

The issue with the centralized auth is another one and better discussed on #43, just so we discuss everything about it on the same place.

from django-tenant-schemas.

kissgyorgy avatar kissgyorgy commented on June 17, 2024

I add a section to the documentation about this setup then.

from django-tenant-schemas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.