#25045: Django 1.8.2 handler404 and handler500 no longer work
------------------------------+--------------------------------------
Reporter: simon9999 | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: handler404 | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by claudep):
* status: new => closed
* resolution: => worksforme
Comment:
I suspect this might be related to an old-school project structure. In old
versions of Django, you could have importable files at the root of the
project. This layout is no longer supported, and as you can see with
running a `startproject` command with Django 1.8, the `urls.py` file is
now inside a subdirectory of the project. Consequently, the handler path
should have the subdirectory name as first component. If my diagnostic is
wrong, then reopen the ticket and please attach a sample project structure
that reproduces this problem.
--
Ticket URL: <https://code.djangoproject.com/ticket/25045#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.1d157d7d7fa09643ee9c7800011a0532%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.