Module Expr Str Import alias ImportFrom alias alias Import alias Expr Call NameLoad Str keyword Num keyword Str keyword NameLoad Expr Call NameLoad Str keyword Num keyword Str keyword NameLoad Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str Expr Call NameLoad Str keyword ListLoad keyword Str keyword NameLoad Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Num Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign SubscriptStore NameLoad Index Str TupleLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Str Slice Num attr Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str TupleLoad Str Str Str Str Str Str Str Str Str Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str ListLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Dict Assign NameStore Call NameLoad NameLoad Str NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str For NameStore Call NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Configuring Airy projects.

By default Airy parses ``settings.py`` file located in the project's directory.

You may specify parameters either in the file or on command line when launching your
project, for example:

.. code-block:: console

    $ python manage.py runserver --port=80

Most commonly used options:

* port (default=8000)

    Run on the given port

* host (default="127.0.0.1:8000")

    Bind to the given ip/port.

* template_path (default="./templates")

    Path to the directory containing project templates.

* static_path (default="./static")

    Path to your project's static files (Airy will serve it automatically on /static/)

For a full list of options, see ``python manage.py help``

 N/A tornado.options tornado.options define options N/A os N/A N/A define port default 8000 help Run on the given port type int N/A N/A define flash_policy_port default 8043 help Port to run Flash policy on (for older browsers) type int N/A N/A define flash_policy_file default ./flashpolicy.xml help Flash policy file N/A N/A define secret default help Application secret N/A N/A define template_path default ./templates help Template directory path N/A N/A define static_path default ./static help Static directory path N/A N/A define app_title default Example Web App help Default app title N/A N/A define xsrf_cookies default True help Disable XSRF cookies N/A N/A define installed_apps default N/A help List of installed applications multiple True N/A N/A define host default 127.0.0.1:8000 N/A N/A define email_host default smtp.gmail.com N/A N/A define email_port default 587 N/A N/A define email_host_user default N/A N/A define email_host_password default Settings N/A object N/A __init__ N/A N/A self N/A entries N/A N/A N/A N/A N/A self __dict__ update entries N/A __getattribute__ N/A N/A self name N/A N/A N/A N/A N/A object __getattribute__ self N/A N/A name lower N/A N/A N/A settings N/A Settings _ensure_defaults N/A N/A dsettings options project_root config_filename N/A N/A N/A N/A N/A options template_path ./templates N/A N/A N/A dsettings N/A template_path N/A N/A N/A os path join project_root templates N/A N/A N/A options static_path ./static N/A N/A N/A dsettings N/A static_path N/A N/A N/A os path join project_root static N/A N/A N/A options flash_policy_file ./flashpolicy.xml N/A N/A N/A dsettings N/A flash_policy_file N/A N/A N/A os path join project_root flashpolicy.xml N/A N/A dsettings N/A locale_paths N/A N/A N/A dsettings N/A use_i18n True N/A N/A dsettings N/A use_l10n True N/A N/A dsettings N/A language_code en-us N/A N/A dsettings N/A default_charset utf-8 N/A N/A dsettings N/A email_backend airy.core.mail.backends.smtp.EmailBackend N/A N/A dsettings N/A email_host localhost N/A N/A dsettings N/A email_host_post 25 N/A N/A dsettings N/A email_host_user N/A N/A dsettings N/A email_host_password N/A N/A dsettings N/A email_use_tls False N/A N/A dsettings N/A email_subject_prefix [Airy]  N/A N/A dsettings N/A server_email root@localhost N/A N/A dsettings N/A project_root project_root N/A N/A dsettings N/A settings_module N/A N/A N/A N/A N/A config_filename replace / . N/A -3 strip . N/A N/A dsettings N/A datetime_format N/A getattr options datetime_format N j, Y, P N/A N/A dsettings N/A time_format N/A getattr options time_format P N/A N/A dsettings N/A date_input_formats N/A getattr options date_input_formats N/A %Y-%m-%d %m/%d/%Y %m/%d/%y %b %d %Y %b %d, %Y %d %b %Y %d %b, %Y %B %d %Y %B %d, %Y %d %B %Y %d %B, %Y N/A dsettings N/A _preconfigure N/A N/A project_root config_filename argv N/A settings.py N/A N/A N/A Read config file, process command-line args N/A N/A N/A N/A tornado options parse_command_line argv N/A N/A N/A N/A tornado options parse_config_file N/A N/A N/A os path join project_root config_filename N/A dsettings N/A N/A parsed_options N/A getattr options _options options N/A key parsed_options N/A N/A N/A dsettings N/A key N/A getattr options key N/A N/A _ensure_defaults dsettings options project_root config_filename N/A config N/A __import__ settings N/A name N/A dir config N/A N/A N/A N/A N/A name startswith _ N/A N/A N/A dsettings N/A name N/A getattr config name N/A N/A N/A N/A settings __dict__ update dsettings N/A N/A settings socket_io_port N/A settings port N/A dsettings N/A