Permalink
Browse files

Added a docstring to CyclicDependency exception class.

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 1bb880956175addecc345d8f0c25b7f8e46bb370
Showing with 5 additions and 0 deletions.
  1. +5 −0 django/db/models/query.py
@@ -21,7 +21,12 @@
# Pull into this namespace for backwards compatibility.
EmptyResultSet = sql.EmptyResultSet
+
class CyclicDependency(Exception):
+ """
+ An error when dealing with a collection of objects that have a cyclic
+ dependency, i.e. when deleting multiple objects.
+ """
pass

0 comments on commit 1bb8809

Please sign in to comment.