Changes between Initial Version and Version 1 of Ticket #11329


Ignore:
Timestamp:
06/16/2009 06:12:09 PM (6 years ago)
Author:
Alex
Comment:

Please use the preview option. Also, are you using the internal get_count() function instead of the public count() API.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11329

    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
  • Ticket #11329 – Description

    initial v1  
    11Extending an example on extra 'select' from http://docs.djangoproject.com/en/1.0/ref/models/querysets/ with an extra 'with' and calling get_count:
    2 
     2{{{
    33Blog.objects.extra(
    44    select={
     
    77    where=['entry_count=0']
    88).query.get_count()
    9 
     9}}}
    1010results in OperationalError: no such column: entry_count.
    1111
Back to Top