Ticket #134 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

south crashes when using FK to models that have been imported with aliases

Reported by: evan.reiser@… Owned by: andrew
Priority: major Milestone: 0.6
Component: migrations Version: 0.6-pre
Keywords: Cc:

Description

from django.db import models
from django.contrib.auth.models import Group as AuthGroup?

class TestModel?(models.Model)

group = models.ForeignKey?(AuthGroup?)

this causes an error saying AuthGroup? is unknown

Change History

comment:1 Changed 6 years ago by andrew

Could you post the entire traceback of the error? It makes it way easier to debug.

comment:2 Changed 6 years ago by andrew

  • Status changed from new to assigned
  • Version set to subversion
  • Milestone set to 0.6

comment:3 Changed 6 years ago by andrew

OK, this is going to be a tough one to crack.

comment:4 Changed 6 years ago by andrew

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [243].

Note: See TracTickets for help on using tickets.