Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

admin.site.urls autodiscovery doesn't work quite right #1

@sbuss

Description

@sbuss

The normal django pattern of admin.site.urls for admin urls doesn't work with baya. I'm pretty sure this is a problem with autodiscovery.

Docs fix: You need to do from myapp import admin as my_admin; my_admin.site.urls at the bottom of your admin.py file. This should be documented, but it's better to fix the core issue.

Long fix: make autodiscovery work properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions