def get_mods(self, project_path, vars):
        """
        Build the mod list to enable
        """
        # Start with answers from interactive command
        mods = [var.name for var in self.vars if vars[var.name].lower() == 'yes']
        mods = set(mods)

        # Base mods
        for name in self.mods_list:
            mods.add(name)
        
        # Conditionnal mods dependancies
        if 'accounts' in mods or 'contact_form' in mods:
            mods.add('crispy_forms')
            mods.add('recaptcha')
        
        return mods
def get_mods ( self , project_path , vars ) : mods = [ var . name for var in self . vars if vars [ var . name ] . lower ( ) == 'yes' ] mods = set ( mods ) for name in self . mods_list : mods . add ( name ) if 'accounts' in mods or 'contact_form' in mods : mods . add ( 'crispy_forms' ) mods . add ( 'recaptcha' ) return mods
Build the mod list to enable