Halvor Fladsrud Bø
Halvor Fladsrud Bø
Looking into the code, I migth have found the problem. fields.py ```python # ArrayModelField -> get_db_prep_value for fld in a_mdl._meta.get_fields(): if not useful_field(fld): continue fld_value = getattr(a_mdl, fld.attname) mdl_ob[fld.attname] =...
In order for that to work you need to set django up for multiple databases. Check out: https://docs.djangoproject.com/en/2.0/topics/db/multi-db/. Just follow that. When making migrations, make sure to add —database to...
Have you written a router? From my understanding it seems like you need to use one database / app. You importing both in the same file makes me think you...
Your problem is that the package _django.db.models.fields.mixins_ does not exist.
This is simply a problem with this import: ModuleNotFoundError: No module named 'django.db.models.fields.mixins'
Please link me to the documentation for: django.db.models.fields.mixins From what I can see it does not exist. Please, I don't think this has anything to do with djongo.
Checked it now, I get the same error with django 1.11. That is the problem. Just revert to djongo 1.2.23 for now and its all good. 1.2.24 is the breaking...
Lets say your models look like this: ```python class MyEmbeddedModel(models.Model): ... class Meta: abstract = True class MyModel(models.Model): my_embedded_model = models.EmbeddedModelField(model=MyEmbeddedModel) objects = models.DjongoManager() ``` (or something like that) Then...