Extension Development - cannot register my models to be displayed on the admin page

32 views
Skip to first unread message

JohnnyMcA

unread,
Apr 22, 2021, 6:34:56 PM4/22/21
to Review Board Community
Hello everyone!
I am not entirely sure, whether this is the right way to ask for help, but I am really struggling to register my Model to be displayed on the admin page. 
I am currently using Reviewboard 3.0.21.

I have a small model which needs to be displayed: SoftwareProjectModel
has_admin_site is set to True. 

In admin.py, I write the following: 
-----------------------------------------------------
from myextension.extension import MyExtension
from  myextension.models import SoftwareProjectModel

# Register the Model so it will show up in the admin site.
MyExtension.admin_site.register(SoftwareProjectModel)
-----------------------------------------------------

Within Review Boards admin panel -> Manage Extensions it says: 
2021-04-23 Reviewboard admin register issue.png

Does anybody know what the problem could be?

I do not know whether this information is suffice, or whether more input is needed to make an educated guess.

I am more than happy to supply you with more details, if necessary.

JohnnyMcA

unread,
Apr 22, 2021, 6:40:59 PM4/22/21
to Review Board Community
Oh noes! 
I am more than sorry. Right after I submitted my message, I realized that there's a dedicated Review Board Development group.
Moving the thread is not possible, right? I have never used google groups before.

Best regards!

JohnnyMcA

unread,
Apr 24, 2021, 4:17:21 AM4/24/21
to Review Board Community
I have moved the initial message to the "Review Board Development"- Group. This renders the current conversation deletable.

Alex
Reply all
Reply to author
Forward
0 new messages