from .models import * def init(): options = Option.objects.all() option_names = options.values_list('name', flat=True) # # if not 'mail_server_url':