Merge lp:~leonardr/lazr.restful/django-helpers into lp:lazr.restful
Proposed by
Leonard Richardson
Status: | Merged |
---|---|
Approved by: | Barry Warsaw |
Approved revision: | 55 |
Merged at revision: | not available |
Proposed branch: | lp:~leonardr/lazr.restful/django-helpers |
Merge into: | lp:lazr.restful |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~leonardr/lazr.restful/django-helpers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Barry Warsaw | code | Approve | |
Review via email: mp+10274@code.launchpad.net |
To post a comment you must log in.
This branch adds a tiny ZCML snippet to frameworks/ django. zcml that makes Django "object not found" exceptions show up in the web service as 404 errors.
The biggest part of this code is the test, which creates a temporary fake Django module hierarchy. This is based on code Gary gave me, and the code should work whether or not Django is installed.