app/models/choice.py
def data(self):
        """
        Returns a dict with the basic details
        """
        return {
            'name': '%(choice)s :: %(name)s' % {
                'choice': self.choice.name,
                'name': self.name,
            },
            'defn': self.defn,
        }

        Returns a dict with the basic details
        
Returns a dict with the basic details
Returns a dict with the basic details
def data(self):
        return {
            'name': '%(choice)s :: %(name)s' % {
                'choice': self.choice.name,
                'name': self.name,
            },
            'defn': self.defn,
        }
def data ( self ) : return { 'name' : '%(choice)s :: %(name)s' % { 'choice' : self . choice . name , 'name' : self . name , } , 'defn' : self . defn , }
Returns a dict with the basic details
Returns a dict with the basic details
"""
        Returns a dict with the basic details
        """
self