Model inheritance problem

2013-09-15 Thread Antonio Mignolli
Hi, I posted something similar also to italian Django-it group. I'm using neo4django, but I want to understand things in a more generic way. My case: class MyBaseModel(models.NodeModel): name=StringProperty() class Meta: abstract = True NodeModel it's a graph Node, like a record i

Re: Model inheritance problem

2013-09-17 Thread Antonio Mignolli
Thanks, George, but as I said in the beginning, I'm using neo4django, which surely has StringProperty, otherwise I would have an AttributeError on StringProperty, which I don't have. I should have written: from neo4django.db import models and ... name = models.StringProperty(indexed=True)

Re: Model inheritance problem

2013-09-17 Thread Antonio Mignolli
Hmm, no, it does not work even without indexed=True, my mistake. So the "issue" remains. Il giorno martedì 17 settembre 2013 16:17:04 UTC+2, Antonio Mignolli ha scritto: > > Thanks, George, but as I said in the beginning, I'm using neo4django, > which surely has Str