Friday, April 17, 2015

Re: Django 1.8 data migrations not able to locate related collections

Hi Markus, thanks for the fast response! Yup, that did the trick. I had to do some manual copypasta into the stable/1.8.x branch to get it to run but it appears that was the issue.

On Fri, Apr 17, 2015 at 9:45 AM, Markus Holtermann <info@markusholtermann.eu> wrote:
Hi A Lee,

I think I've seen that one before. Can you check if the fix for https://code.djangoproject.com/ticket/24573 resolves the issue?

/Markus


On Friday, April 17, 2015 at 2:52:26 AM UTC+2, A Lee wrote:
Hello,

After upgrading to 1.8 from 1.7.7 our tests are now unable to create test data via data migrations and complain about related collections not existing as attributes for some but not all models (exception stack trace at https://travis-ci.org/virtualcommons/vcweb). It appears to succeed at creating a model object for the first related collection but then dies when attempting to create objects in the second related collection (https://github.com/virtualcommons/vcweb/blob/develop/vcweb/experiment/forestry/migrations/0001_initial_forestry.py#L62). 

Any ideas on what might be causing this? Access to related collections through the django shell and via the web interface still seem to be working fine on 1.8, it's just the data migrations that are failing.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bbb334b8-6d77-4954-9bb9-800fef266a10%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHprRzM%3DZBsDANXkyAwH7Xy2L6wH5HNP3wMDLkUEhYG0qBPtVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment