[Django]-Does Neomodel support modelform? If so, why isn't it picking up default meta attributes / how do I set them?

0👍

I have two relationships Author-> Book and Book -> Author, but to import both class I have circular import error to define the relationship class type.

I solved using the absolute path to models as reference, do not import AuthorModel.

class BookModel(StructuredNode):
    title = StringProperty(unique_index=True)
    author = RelationshipTo('models.author.AuthorModel', 'AUTHOR')

Leave a comment