Skip to content

Instantly share code, notes, and snippets.

@julianwachholz
Created November 14, 2013 15:15
Show Gist options
  • Save julianwachholz/7468543 to your computer and use it in GitHub Desktop.
Save julianwachholz/7468543 to your computer and use it in GitHub Desktop.

Actual URL in Browser: http://hello.local/api/admin

Page not found (404)

Request Method: GET

Using the URLconf defined in hello.urls, Django tried these URL patterns, in this order:

^$ [name='index']
^admin/

The current URL, api/admin, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

location /api {
uwsgi_pass 127.0.0.1:9000;
include uwsgi_params;
uwsgi_param SCRIPT_NAME /api;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment