Changes between Initial Version and Version 1 of Ticket #17389, comment 1
- Timestamp:
- Dec 12, 2011, 11:05:51 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17389, comment 1
initial v1 1 1 The second I posted this I tried the following and it works perfectly :) 2 2 3 {{{ 3 4 MyModel.objects.exclude(foreignKey__isnull=False).count() 5 }}} 4 6 5 7 Obviously I need to get used to using excludes as well as filters.