code: def copy_settings(self, settings_module):
          
          source = inspect.getsourcefile(settings_module)
          dest = os.path.join(self.model_dir, 'settings.py')
          shutil.copyfile(source, dest)
docs: Copy settings module to the model_dir directory