#24177: Docs. inspectdb now inspect the database view
-------------------------------------+-------------------------------------
     Reporter:  luzfcb               |                    Owner:  timgraham
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  1.8alpha1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by luzfcb):

 Sorry for the mistakes, english is not my native language. I still have
 quite a lot to learn.

 I added the corrections suggested by MarkusH.
 See: https://github.com/django/django/pull/3946/commits

 As this new feature is included, I believe it is necessary to
 differentiate a model generated from a table and a model generated from a
 view. Add a simple comment "maps a view" (or other text) in the generated
 class already solves it.

 If, in the future, django offer support for "synonym" feature of Oracle,
 differentiate this can be useful.

 In my specific case, the company I started working on last mont, has an
 Oracle database with at least 67 schemas, and over 4320 tables, views and
 synonym. The database of this size, differentiate what is table, what is
 view and what is synonym becomes quite useful.

--
Ticket URL: <https://code.djangoproject.com/ticket/24177#comment:5>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.8743f7bad1d929dc1b50fc90cf85aaba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to