#28358: LazyObject defines attribute that don't exist on wrapped object
-------------------------------------+-------------------------------------
     Reporter:  Andrey Fedoseev      |                    Owner:  Theofilos
                                     |  Alexiou
         Type:  Bug                  |                   Status:  closed
    Component:  Utilities            |                  Version:  1.11
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             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 Dylan Young):

 I'm not 100%, but it looks like these fixes might have broken Django on
 PyPy.



 {{{
 django-csp/.tox/pypy3.9-main/lib/pypy3.9/site-
 packages/django/contrib/admin/decorators.py", line 107, in
 _model_admin_wrapper
     raise ValueError("site must subclass AdminSite")
 ValueError: site must subclass AdminSite
 }}}

 mro looks like this (not sure what's expected)


 {{{
 [<class 'django.contrib.admin.sites.DefaultAdminSite'>, <class
 'django.utils.functional.LazyObject'>, <class 'object'>]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28358#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180efc279b1-fa9608ec-b517-406d-9b29-900a2ae3589c-000000%40eu-central-1.amazonses.com.

Reply via email to