Commits

Anonymous committed ce0c808

Changed page WhatsNewIn31

  • Participants
  • Parent commits 0e223e6

Comments (0)

Files changed (1)

File WhatsNewIn31.wiki

 
 There's a new subfolder in the cherrypy directory: {{{scaffold}}}. Use it as a base for creating new CherryPy applications. When you want to make a new app, copy and paste it to some other location (maybe site-packages) rename it to the name of your project, then tweak as desired. Even before any tweaking, it should serve a few demonstration pages. Change to its directory and run {{{python cpdeploy.py --config=example.conf}}}.
 
-We hope to add little improvements to the scaffolding application as we go, to help enable good CherryPy code and avoid common pitfalls. So feel free to recommend some!
+We hope to add little improvements to the scaffolding application as we go, to help enable good CherryPy code and avoid common pitfalls. So feel free to recommend some!
+
+== Custom Errors ==
+
+Returning custom responses for non-2xx HTTP codes is MUCH easier now. See http://www.cherrypy.org/wiki/ErrorsAndExceptions#AnticipatedHTTPresponses.