diff --git a/src/postorius/doc/news.rst b/src/postorius/doc/news.rst index 0624f50..ce4c260 100644 --- a/src/postorius/doc/news.rst +++ b/src/postorius/doc/news.rst @@ -36,6 +36,8 @@ * Show held message details in a modal window. Contributed by Abhilash Raj (LP: 1004049). * Rework of internal testing * Mozilla Persona integration: switch from django-social-auto to django-browserid: Contributed by Abhilash Raj. +* Fix manage.py mmclient command for non-IPython shells. Contributed by Ankush Sharma (LP: 1428169). + 1.0 beta 1 -- "Year of the Parrot" ================================== diff --git a/src/postorius/management/commands/mmclient.py b/src/postorius/management/commands/mmclient.py index 0e0f91a..d92104b 100644 --- a/src/postorius/management/commands/mmclient.py +++ b/src/postorius/management/commands/mmclient.py @@ -45,5 +45,7 @@ console_fn = shell.interact # connect to mailmanclient client = utils.get_client() + # Putting client back in the global scope + globals()['client'] = client # run the interpreter console_fn()