#31661: Improve makemigrations warning message when calling without an active
database connection.
-------------------------------------+-------------------------------------
     Reporter:  David Smith          |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * type:  Uncategorized => Cleanup/optimization
 * component:  Database layer (models, ORM) => Core (Management commands)
 * easy:  0 => 1
 * stage:  Unreviewed => Accepted


Comment:

 > However, the error message that is generated is a bit odd, it has a full
 stop on a new line ...

 Newline is from `OperationalError` so there is not much we can do, but I
 agree that we should remove a period.

 > ... and shows `warnings.warn(`

 It's a line where warning is raised, I don't think there is much we can
 do.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31661#comment:1>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.500104df839864b38f3696fccafe65fb%40djangoproject.com.

Reply via email to