Opened 11 years ago

Closed 11 years ago

#22765 closed Cleanup/optimization (invalid)

South to Migrations detail

Reported by: anonymous Owned by: nobody
Component: Migrations Version: 1.7-beta-2
Severity: Normal Keywords: south, migrations
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In South, automatically generated migrations that add models fire the function send_create_signal(), which among other things, results in a ContentType record being written for the new model. Except that it doesn't, because it actually just queues up that signal to be fired at the end of the whole process by the function really_send_create_signal().

This is trouble for subsequent data migrations that are counting on those ContentType records. To date I've had to manually change send_create_signal() to really_send_create_signal() to immediately fire that action and set up future data migrations correctly. Obviously, that is an ugly process.

My question is: In Django 1.7, where Migrations replaces the need for South, how will this function?

Change History (2)

comment:1 by craiglabenz, 11 years ago

Forgot to login first. This was my question.

comment:2 by mardini, 11 years ago

Resolution: invalid
Status: newclosed

Hello craiglabenz,

Please use django-users mailing list to ask questions about using Django. Tickets are only used to report bugs and suggest new features.

Thanks.

Note: See TracTickets for help on using tickets.
Back to Top