Added get{,_or_create} docs

This commit is contained in:
Harry Marr
2010-01-31 13:47:27 +00:00
parent ffc9d7b152
commit e05d31eaaf
3 changed files with 42 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ __all__ = ['queryset_manager', 'Q', 'InvalidQueryError',
# The maximum number of items to display in a QuerySet.__repr__
REPR_OUTPUT_SIZE = 20
class DoesNotExist(Exception):
pass
@@ -21,14 +22,10 @@ class MultipleObjectsReturned(Exception):
class InvalidQueryError(Exception):
pass
class OperationError(Exception):
pass
class MultipleObjectsReturned(Exception):
pass
class DoesNotExist(Exception):
pass
class Q(object):