X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/046b58ef29cb2d18867ac9551c5101a7850e359f..6a9c8723936694a6b55f8b4bdcac7009c6c3cccf:/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):