#21755: db.utils _route_db can raise AttributeError: 'NoneType' object has no
attribute '_state'
-------------------------------------+-------------------------------------
     Reporter:  cjerdonek            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.6
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by cjerdonek):

 By the way, this ticket isn't the place to resolve the following issue in
 general, but my preference would be for Django to make it easier to
 support the following two use cases out of the box: (1) `USERNAME_FIELD`
 being a foreign key, and (2) `USERNAME_FIELD` being a tuple of fields.  I
 may open tickets for these two issues at some point if they haven't
 already been suggested.  If the resolution of this ticket can reduce one
 roadblock towards use case (1), that would be good.   The current issue is
 simply one of the first places where things went wrong.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21755#comment:4>
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/067.8a94ad106a0edbe789ab6b6f10710aed%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to