#6148: Add generic support for database schemas
---------------------------------------------------+------------------------
          Reporter:  ikelly                        |         Owner:  kmpm       
                    
            Status:  assigned                      |     Milestone:             
                    
         Component:  Database layer (models, ORM)  |       Version:  SVN        
                    
        Resolution:                                |      Keywords:  oracle 
postgresql mysql schemas
             Stage:  Accepted                      |     Has_patch:  1          
                    
        Needs_docs:  0                             |   Needs_tests:  0          
                    
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Comment (by hejsan):

 Replying to [comment:37 oldium]:
 > The main purpose of this for me is to have the ''site'' living in the
 different namespace, but in the same database (PostgreSQL); not to have
 the models/apps in dedicated namespaces. In this way you can run
 completely different sites (users, models...) within the same database -
 useful if you do not have full control over the database (hosting for
 example).

 That kind of support would still not benefit the majority of those that
 crave schema support, i.e. those that are trying to make django work with
 a legacy postgresql database, and those that are used to having tables
 sorted nicely into schemas.

 Developers that are used to postgresql use schemas to keep their db tidy
 and managable, that is the foremost reason to use schemas. I don't see
 many usecases for what you are implementing over having each site in it's
 own database, although I'm sure there are some.

 Would it be hard to implement my suggestion into your changes?
 i.e. allowing each app to override the site-wide schema, and possibly each
 model also?

 By the way, I don't mean to come of harsh, I'm really grateful for your
 work

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6148#comment:38>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to