Changes between Initial Version and Version 1 of Ticket #17389, comment 1


Ignore:
Timestamp:
Dec 12, 2011, 11:05:51 PM (13 years ago)
Author:
TwelveSixty

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17389, comment 1

    initial v1  
    11The second I posted this I tried the following and it works perfectly :)
    22
     3{{{
    34MyModel.objects.exclude(foreignKey__isnull=False).count()
     5}}}
    46
    57Obviously I need to get used to using excludes as well as filters.
Back to Top