#24346: AuthRouter docs lead to AttributeError: 'NoneType' object has no 
attribute
'_meta' with 0002_remove_content_type_name
---------------------------------+-------------------------------------
     Reporter:  pzrq             |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Documentation    |                  Version:  1.8alpha1
     Severity:  Release blocker  |               Resolution:  fixed
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  1
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------

Comment (by Loic Bistuer <loic.bistuer@…>):

 In [changeset:"3a6c37fce452a3bbf185b5e58dd3e7c89b456b19"]:
 {{{
 #!CommitTicketReference repository=""
 revision="3a6c37fce452a3bbf185b5e58dd3e7c89b456b19"
 [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().

 The new signature enables better support for routing RunPython and
 RunSQL operations, especially w.r.t. reusable and third-party apps.

 This commit also takes advantage of the deprecation cycle for the old
 signature to remove the backward incompatibility introduced in #22583;
 RunPython and RunSQL won't call allow_migrate() when when the router
 has the old signature.

 Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

 Refs 22583.

 Conflicts:
         django/db/utils.py

 Backport of bed504d70bede3431a213203c13a33905d6dbf77 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24346#comment:7>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.efb6a5a86d4974642849bb5c47646d3f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to