daltonmatos/wsgid — Issue #30: Provide a wsgid.conf.settings to access the command line options
Author: daltonmatos
Created: 2011-12-25 14:37:17+00:00
State: open
Labels: feature

The ideia is to have a django-like way to read wsgid options. These options are basically the command line options passed when calling wsgid.

The command line should not be parsed twice. The options will be parsed on the first access of any attribute of `settings`.

The general idea is:

from wsgid.conf import settings

if settings.debug:
# do something