close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 4 and Version 5 of DevelopmentServer


Ignore:
Timestamp:
Jul 15, 2008, 5:21:32 PM (16 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentServer

    v4 v5  
    4747Options:
    4848  -h, --help            show this help message and exit
     49  -O name=value         set a configuration option
    4950  -b HOST, --host=HOST  hostname or IP address to bind to (default 127.0.0.1)
    5051  -p PORT, --port=PORT  port number to listen to (default 8080)
    51   -r, --auto-reload     automatically restart after code changes (default
    52                         True)
     52  -r, --auto-reload     automatically restart after code changes (default off)
    5353  -v, --verbose         print as much as possible
    5454  -q, --quiet           print as little as possible
    5555
    5656}}}
     57
     58You can use the `-O` option to set one or more configuration options, overriding any defaults set by the application. For example:
     59
     60{{{
     61$ python myapp.py -Odebug=false -Ocsrf_protection=false
     62}}}
     63
     64See ConfigOptions for a list of options made available by the framework, in addition to any custom options your application may support.
    5765
    5866== Automatic Reloading ==