Skip to content

Commit

Permalink
Added a docstring to CyclicDependency exception class.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Jul 13, 2008
1 parent e47d8e7 commit 1bb8809
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions django/db/models/query.py
Expand Up @@ -21,7 +21,12 @@
# Pull into this namespace for backwards compatibility. # Pull into this namespace for backwards compatibility.
EmptyResultSet = sql.EmptyResultSet EmptyResultSet = sql.EmptyResultSet



class CyclicDependency(Exception): class CyclicDependency(Exception):
"""
An error when dealing with a collection of objects that have a cyclic
dependency, i.e. when deleting multiple objects.
"""
pass pass




Expand Down

0 comments on commit 1bb8809

Please sign in to comment.