Permalink
Browse files

Return the settings object in the dictionary passed to app initializer

  • Loading branch information...
1 parent 922c145 commit 357b56dbc2f84b649eaace1058fd183f53e00ab5 @dcramer committed Jun 9, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 logan/runner.py
  2. +1 −1 setup.py
View
@@ -129,9 +129,12 @@ def run_app(project=None, default_config_path=None, default_settings=None,
load_settings(config_path, allow_extras=allow_extras)
if initializer is not None:
+ from django.conf import settings
+
initializer({
'project': project,
'config_path': config_path,
+ 'settings': settings,
})
management.execute_from_command_line([runner_name, command] + command_args)
View
@@ -14,7 +14,7 @@
setup(
name='logan',
- version='0.3.0',
+ version='0.3.1',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/logan',

0 comments on commit 357b56d

Please sign in to comment.