django-react-typescript icon indicating copy to clipboard operation
django-react-typescript copied to clipboard

Publication and Subscriber models not apperaing in the admin area.

Open HHtech-hub opened this issue 1 year ago • 0 comments

I think you need to import the classes in the admin folders __init__.py otherwise django doesn't pick them up.

Adding

from .publications import PublicationAdmin
from .subscribers import SubscriberAdmin

to django-react-typescript\backend\admin\__init__.py

as per: https://stackoverflow.com/questions/61818175/defning-django-admin-models-inside-subdirectories-instead-of-admin-py

HHtech-hub avatar Jul 05 '24 14:07 HHtech-hub