Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bhch opened this issue Nov 1, 2021 · 1 comment
Open

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

bhch opened this issue Nov 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@bhch
Copy link
Owner

bhch commented Nov 1, 2021

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.

@bhch bhch added the bug Something isn't working label Nov 1, 2021
@bhch
Copy link
Owner Author

bhch commented Nov 2, 2021

Maybe fix this after implementing custom pages feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant