#33248: inspectdb command. foreignkey on_delete always get DO_NOTHING
------------------------------------------+------------------------
               Reporter:  Jiangshan00001  |          Owner:  nobody
                   Type:  Uncategorized   |         Status:  new
              Component:  Uncategorized   |        Version:  3.2
               Severity:  Normal          |       Keywords:
           Triage Stage:  Unreviewed      |      Has patch:  0
    Needs documentation:  0               |    Needs tests:  0
Patch needs improvement:  0               |  Easy pickings:  0
                  UI/UX:  0               |
------------------------------------------+------------------------
 when i use inspectdb command.
 the on_delete parameter of the ForeignKey field is always DO_NOTHING.
 but my database is not set as  DO_NOTHING.

 I noticed that the output file has this line:
 "Make sure each ForeignKey and OneToOneField has `on_delete` set to the
 desired behavior"

 I'd like to know,
 why no don't get the information from database?

 is this a bug, or just no use for some reason?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33248>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.14796d8a3a22b3a3afb7cd7be9dee784%40djangoproject.com.

Reply via email to