Commits

Anonymous committed 9af906a

added a 404.html file and updated the testcases to run against Django svn rev 8693 (post 1.0b1)

  • Participants
  • Parent commits 3b9fe61

Comments (0)

Files changed (2)

examples/project/templates/404.html

+blah.  HTTP 404 error

examples/project/zoo/test_urlconf.py

         '''
         c = Client()
         resp = c.get('')
-        assert resp.status_code == 500
+        assert resp.status_code == 404, "Got status %s - expecting 404" % resp.status_code
 
         c = Client()
         resp = c.get('/zoo/')
 
         c = Client()
         resp = c.get('/zoo/')
-        assert resp.status_code == 500
+        assert resp.status_code == 404, "Got status %s - expecting 404" % resp.status_code