Skip to content

Publication and Subscriber models not apperaing in the admin area. #52

Closed
@HHtech-hub

Description

@HHtech-hub

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions