From 7df29c013eb04273a56cd04116a846a9fe7a18d7 Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Wed, 8 Mar 2006 20:54:03 +0000 Subject: [PATCH] magic-removal: Fixed #1479. I tried to track down the *real* problem to no avail. This fix is a total hack, but it works for now, and core is going to be re-removed soon anyhow. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2505 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/mutually_referential/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modeltests/mutually_referential/models.py b/tests/modeltests/mutually_referential/models.py index 6a70434949..07b52effbc 100644 --- a/tests/modeltests/mutually_referential/models.py +++ b/tests/modeltests/mutually_referential/models.py @@ -7,7 +7,7 @@ To define a many-to-one relationship, use ``ForeignKey()`` . from django.db.models import * class Parent(Model): - name = CharField(maxlength=100) + name = CharField(maxlength=100, core=True) bestchild = ForeignKey("Child", null=True, related_name="favoured_by") class Child(Model):