Django

Code

Ticket #5341: num_params_docs.diff

File num_params_docs.diff, 510 bytes (added by paulsmith@pobox.com, 1 year ago)
  • docs/db-api.txt

    old new  
    799799 
    800800        Entry.objects.extra(where=['headline=%s'], params=['Lennon']) 
    801801 
     802    The combined number of placeholders in the list of strings for ``select`` or 
     803    ``where`` should equal the number of values in the ``params`` list. 
     804 
    802805QuerySet methods that do not return QuerySets 
    803806--------------------------------------------- 
    804807