Tuesday, October 21, 2014

Re: Many-to-many Relationship Between Django Apps Fails

Thanks man. This was a huge relief!

On Tue, Oct 21, 2014 at 2:35 PM, Collin Anderson <cmawebsite@gmail.com> wrote:
Hi Paul,

1. How did you know!?!
I hack... kidding :). I suspected something wasn't getting loaded, and the list of installed apps was in the traceback you posted.

2.I have the same code in production and it was working with no problems. Any idea why?
In development, most, if not all of your code is loaded and run on startup, and in production (at least before 1.7), things are really only loaded as needed. Basically with the app loading refactor and django.setup(), we're finally fixing problems like this.

Collin

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/4_Cdw5xpx-w/unsubscribe.
To unsubscribe from this group and all its topics, 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/d1617a57-9a60-4727-a610-308e44789db1%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/CAGOvLBpNtvkFbp9zOfYkpQDONfWQBmdRam6DZTrj-GOP9rrEpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment