yawd-admin
yawd-admin copied to clipboard
Redirecting admin_site.urls to root
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.