'Flattened version of choices tuple.'

def _get_flatchoices(self):

    flat = []
    for (choice, value) in self.choices:
        if isinstance(value, (list, tuple)):
            flat.extend(value)
        else:
            flat.append((choice, value))
    return flat
