Changes between Initial Version and Version 1 of Ticket #11580, comment 10
- Timestamp:
- Sep 2, 2014, 3:23:12 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11580, comment 10
initial v1 4 4 5 5 6 EDIT: Actually there is something else also wrong, either my understanding or 'exclude' operator: 7 8 9 {{{ 10 In [20]: statistics_data.models.Measurement.objects.all().values_list( 'json_values' ) 11 Out[20]: [(u'foo bar',), (u'foo bar',), (u'',)] 12 13 In [21]: statistics_data.models.Measurement.objects.filter(json_values="").count() 14 Out[21]: 1 15 16 In [22]: statistics_data.models.Measurement.objects.exclude(json_values="").count() 17 Out[22]: 3 18 }}} 19 20 21