Ticket #341 (closed defect: wontfix)

Opened 6 years ago

Last modified 4 years ago

Freezing a single model does not work

Reported by: jbar@… Owned by: andrew
Priority: minor Milestone: 0.7
Component: commands Version: 0.7-pre
Keywords: freezing Cc:


datamigration --freeze=auth.User

does not work. It prints

You cannot freeze 'auth.User'; you must provide an app label, like 'auth' or 'books'.

It worked in 0.6. I can still freeze the whole application though:

datamigration --freeze=auth

I have no problem with freezing the whole application this time but the error message suggests it should work.

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone set to 0.7

The new datamigration only lets you freeze whole apps (since most of the time you really will want them all, and it simplifies the code a great deal).

I've updated the help for the command a little to make it clear it's only app names now.

Note: See TracTickets for help on using tickets.