Skip to content

Return 404 status when request app or model admin doesn't exist #21

@bhch

Description

@bhch

Currently the handler doesn't return 404 even when a requested app or model admin doesn't exist.

Also, fix BaseAdminSite.get_registered() method. It returns a tuple (None, None) when no admin is found. It should return a single None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions