#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): It's main, not 4.1. I'll try 4.1 and see if it shows up there too. Replying to [comment:16 Theofilos Alexiou]: > Replying to [comment:13 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 > > }}} > > Not sure if this is of any help or not. The error is raised on line 107 but looking at the 4.1 brach I see that this should be in line [https://github.com/django/django/blob/9fc56af0fbd77253bd8e90b8478e32b0d30fc6b9/django/contrib/admin/decorators.py#L102 102] Is this perhaps a modified brach of Django and some other change causes it? -- Ticket URL: <https://code.djangoproject.com/ticket/28358#comment:17> 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/01070180f1fa5966-3a0bb997-2a01-4bf9-8a57-590f7cb4dbc1-000000%40eu-central-1.amazonses.com.