X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/71b0be75c6fae624d8d4c7690b6abca4b19be922..bd4085d74f6ee6e743455b9be8b512ea41b37588:/models.py?ds=sidebyside diff --git a/models.py b/models.py index 6eac9de..d3bf5d4 100644 --- a/models.py +++ b/models.py @@ -238,6 +238,9 @@ class Node(InheritableTreeEntity): def render_to_response(self, request, path=None, subpath=None): return HttpResponseServerError() + + class Meta: + unique_together=(('parent', 'slug',),) class MultiNode(Node):