Modify

Ticket #341 (closed defect: wontfix)

Opened 4 years ago

Last modified 3 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:

Description

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.

Attachments

Change History

comment:1 Changed 4 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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.