##// END OF EJS Templates
Do not inject self in IPython namespace...
Do not inject self in IPython namespace And do not require nemaespace either - this is bad practice, and this prevent from writing a blended content manager that works both with drive and localhost as they shoudl both export themselves to IPython.Contents module.

File last commit:

r19571:4aa90a90
r19670:59021ecb
Show More
manager.py
14 lines | 434 B | text/x-python | PythonLexer
"""Manager to read and modify frontend config data in JSON files.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import os
from IPython.config.manager import BaseJSONConfigManager
class ConfigManager(BaseJSONConfigManager):
"""Config Manager use for storin Javascript side config"""
def _config_dir(self):
return os.path.join(self.profile_dir, 'nbconfig')