Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to load an app by name when mounts are empty
If a config file does not specify a mounts dictionary, greins will now try to load the application by looking for a module whose name matches the config file's name and looking for a symbol within called 'application' that is a callable WSGI handler. This change means that developers can use this naming convention to seamlessly import apps into greins without changing any files.
- Loading branch information
Randall Leeds
committed
Oct 11, 2011
1 parent
dbdbe01
commit 3d9dd6f
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters