Skip to content

Redirecting admin_site.urls to root #36

@Zundrium

Description

@Zundrium

Using url(r'^', include(admin_site.urls)) makes the admin panel to appear on the root url.

However,

When typing 1 segment aside the root url that doesn't exist. It generates an 500 KeyError, not a 404 Page not Found.

How to reproduce on the example site:
1 ) login demo/demo
2 ) go to http://yawd-admin.yawd.eu/ueoue/

This only happens with unknown urls that have 1 segment and no special characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions