What version of Djblets are you using?
Which module(s) have the problem?
What steps will reproduce the problem?
- Create rb extension
- Set has_admin_site = True
- Create models.py and admin.py
- Register model in admin.py like shown in docs
What is the expected output? What do you see instead?
Working admin site is expected, instead I get AttributeError when enabling the extension
What version of Python and Django?
Python 2.7, Django 1.6.11
Please provide any additional information below.
I have also already tried not registering model in admin.py, instead I've registered it from shell. No exception is thrown, but admin site is still empty. Attached screenshot after that operation.
Also attached logs with the exception.
I've done a quick research what could be the cause, in djblets.extensions.manager line 876, which uses Extension.instance is before line 889, where instance attribute is added to the Extension class. But I still don't know why admin site still doesn't work when I register models manually