X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/3738b672148e651a53db0a849f84b941bb9b3a6f..6a9c8723936694a6b55f8b4bdcac7009c6c3cccf:/models.py 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):