Hi, I'm trying to port my project to Django 1.7. Every goes fine except 1 problem with an abstract model testing. Django 1.7 runs migrate command while testing. That means models not included in migrations are omitted. That's the issue I've got.
What I do in my /app/tests/ directory: - I keep there a dummy model: class TestBaseImage(BaseImage): pass - All it does is to inherit from the abstract *BaseImage* model. - In my tests, when I try to create an instance of TestBaseImage I get DB error saying *table does not exist* Is there any good way to make that work with new migration system? I don't want to include my dummy model in my migrations - that's obvious. I need a way to test that abstract model - it worked in Django 1.6 but with new migrations it doesn't. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/2de2af2d-3104-4a34-9eca-586dec775f2c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
