#24282: Cannot Modify Foreign Keys Within Data Migrations ---------------------------------+------------------------------------- Reporter: jeffasinger | Owner: coldmind Type: Bug | Status: assigned Component: Migrations | Version: 1.8alpha1 Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------------------------
Comment (by timgraham): I also couldn't reproduce using the models from the tutorial. Jeff, could you provide more details? {{{ def forwards(apps, schema_editor): Poll = apps.get_model('polls', 'Poll') Choice = apps.get_model('polls', 'Choice') a = Poll.objects.create(question='foo bar', pub_date=timezone.now()) b = Choice(poll=a) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/24282#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.df0a4c83c029716862c81f58091f3fbe%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.