(domain, case_type)
return dict(
        CaseProperty.objects.filter(
            case_type__domain=domain,
            case_type__name=case_type,
        ).values_list('name', 'data_type')
    )
Get a dictionary of property types by name (from the data dictionary) for a given
    domain, case_type. e.g.
    {
      "name": "plain",
      "location": "gps",
      "event_date": "date",
    }
Get a dictionary of property types by name (from the data dictionary) for a given
    domain, case_type. e.g.
    {
      "name": "plain",
      "location": "gps",
      "event_date": "date",
    }
Get a dictionary of property types by name ( from the data dictionary ) for a given domain case_type . e . g . { name : plain location : gps event_date : date }
def _get_dd_property_types(domain, case_type):
    """
    Get a dictionary of property types by name (from the data dictionary) for a given
    domain, case_type. e.g.
    {
      "name": "plain",
      "location": "gps",
      "event_date": "date",
    }
    """
    return dict(
        CaseProperty.objects.filter(
            case_type__domain=domain,
            case_type__name=case_type,
        ).values_list('name', 'data_type')
    )
def _get_dd_property_types ( domain , case_type ) : return dict ( CaseProperty . objects . filter ( case_type__domain = domain , case_type__name = case_type , ) . values_list ( 'name' , 'data_type' ) )