Skip to content

[enhancement] Add django.core.checks for startup misconfiguration with actionable hints #667

@MartinCastroAlvarez

Description

@MartinCastroAlvarez

Audit 2026-06-02 — UX/plug-and-play (Medium)

There is no checks.py; the only validation is a lazy ValueError on unknown settings keys (django_admin_react/conf.py:189) raised at first access, not at startup. Common misconfigs surface as runtime 500s or silent fallbacks instead of a clear manage.py check error.

Fix: register django.core.checks that verify django_admin_rest_api is installed, the configured ADMIN_SITE dotted path imports, API_URL_PREFIX mounting is coherent, and the built SPA bundle/manifest exists — surfacing Errors/Warnings with fix hints. (rest-api already ships W001/E001/W002 + a smoke command; react should match.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions