git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved all navigation-related code to contrib/navigation. Refactored navigation to...
[philo.git]
/
models
/
pages.py
diff --git
a/models/pages.py
b/models/pages.py
index
6f5bc9a
..
81b84c9
100644
(file)
--- a/
models/pages.py
+++ b/
models/pages.py
@@
-102,13
+102,6
@@
class Page(View):
if errors:
raise ValidationError(errors)
- def get_navigation(self, node, max_depth):
- return {
- 'url': node.get_absolute_url(),
- 'title': self.title,
- 'order': None,
- }
-
class Meta:
app_label = 'philo'