#36806: Add system check for null kwarg in GeneratedField definition
-------------------------------------+-------------------------------------
     Reporter:  Dai-Tado             |                    Owner:  Nilesh
         Type:                       |  Pahari
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  GeneratedField       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"968f3f96373e028f1486d135e38331fcd0e3a0ca" 968f3f96]:
 {{{#!CommitTicketReference repository=""
 revision="968f3f96373e028f1486d135e38331fcd0e3a0ca"
 Refs #36806 -- Removed unnecessary null=True from GeneratedField in test
 models.

 Test coverage is preserved because the tests only verify that generated
 fields can produce NULL values when the source field is nullable.

 This addresses system check warnings in the test suite after
 6025eab3c509b4de922117e16866bbfe0ee99aa6.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36806#comment:13>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019b48dc0b80-03a9fd6f-53e5-4caf-a01c-0acd416cf658-000000%40eu-central-1.amazonses.com.

Reply via email to