Hi,
I'm starting a fresh new project with FeinCMS 1.7.1 and the latest commit of FeinCMSTools [1]. I've followed the README instructions with something quite simple:
models.py
=========
from django.db import models
from pages.content_types import Text
class Page(FeinCMSDocument):
title = models.CharField(max_length=255)
feincms_regions = (
('body', 'Body'),
)
@classmethod
def content_types_by_region(cls, region):
return [
(None, (Text,))
]
content_types.py
==============
from django.db import models
from feincmstools.base import Content
class Text(Content):
text = models.TextField()
class Meta:
abstract=True
And I'm getting the following error when I try to run 'migrate' or 'syncdb':
CommandError: One or more models did not validate:
pages.text: 'parent' has a relation with model <class '
pages.models.Page'>, which has either not been installed or is abstract.
I wonder if this could be related to the issue discussed in [2].
Am I missing something? Perhaps the documentation needs to be revised?
Thanks!
Julien