Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread GMail
Well, as far as I know, in Django you need to have abstract base classes for models (https://docs.djangoproject.com/en/1.10/topics/db/models/#model-inheritance ). If I understand your case correctly, NamedEntity and Ent

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
If I set SpeedyComposerNamedEntity to be abstract (which makes sense, there will not be objects of it), I get this error message: peedy\composer>manage.py makemigrations SystemCheckError: System check identified some issues: ERRORS: compose.Composition.accompaniment: (models.E006) The field 'acco

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
Why does it have to be abstract? NamedEntity and Entity are also not abstract. https://github.com/urievenchen/speedy-net/blob/master/speedy/net/accounts/models.py Uri. *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: u...@speedy.net Website: http://www.speedysoftware.com/uri/en/

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread GMail
Hi! First guess - SpeedyComposerNamedEntity is not an abstract model. Meta is not inherited from NamedEntity, you have to do that explicitly: class SpeedyComposerNamedEntity(NamedEntity): ... class Meta(NamedEntity.Meta): pass ... > On 13 Dec 2016, at 18:30, Uri Even-

Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
Dear Django Users, I'm trying to write the models of Speedy Composer in Django 1.10.4, but I can't run makemigrations - I get this error message: speedy\composer>manage.py makemigrations SystemCheckError: System check identified some issues: ERRORS: compose.Composition.accompaniment: (models.E00