Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:ridethepony/django-fiber

  • Loading branch information...
commit 176b0d8ea1be0bf016cb87f815b8d7b24398e0a2 2 parents d4a65ec + 6e3954f
@dbunskoek dbunskoek authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  fiber/models.py
View
2  fiber/models.py
@@ -7,6 +7,7 @@
from django.utils.translation import ugettext
from django.utils.translation import ugettext_lazy as _
+from mptt.managers import TreeManager
from mptt.models import MPTTModel
from app_settings import IMAGES_DIR, FILES_DIR, METADATA_PAGE_SCHEMA, METADATA_CONTENT_SCHEMA
@@ -78,6 +79,7 @@ class Page(MPTTModel):
metadata = JSONField(blank=True, null=True, schema=METADATA_PAGE_SCHEMA, prefill_from='fiber.models.Page')
objects = managers.PageManager()
+ tree = TreeManager()
class Meta:
verbose_name = _('page')
Please sign in to comment.
Something went wrong with that request. Please try again.