git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm...
[philo.git]
/
models.py
diff --git
a/models.py
b/models.py
index
6eac9de
..
d3bf5d4
100644
(file)
--- 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):