Browse Source

Changed exception message

Rafał Pitoń 11 years ago
parent
commit
b178daae89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/admin/hierarchy.py

+ 1 - 1
misago/admin/hierarchy.py

@@ -139,7 +139,7 @@ class AdminHierarchyBuilder(object):
                                "initialized. You can't add new nodes to it.")
 
         if after and before:
-            raise ValueError("You cannot use both after and before kwargs.")
+            raise ValueError("after and before arguments are exclusive")
 
         self.nodes_record.append(
             {