Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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