Changes between Initial Version and Version 1 of Ticket #23422, comment 18
- Timestamp:
- Jun 26, 2015, 3:17:04 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23422, comment 18
initial v1 1 The solutionjwhitlock proposes with calling `create_permissions` from migration fixed one of my problematic migration, but not another. The other migration is calling `loaddata` command to do a one-time fixture import, and it was failing because required `ContentType` objects haven't been created. So it seems to be another face of the same problem.1 The workaround jwhitlock proposes with calling `create_permissions` from migration fixed one of my problematic migration, but not another. The other migration is calling `loaddata` command to do a one-time fixture import, and it was failing because required `ContentType` objects haven't been created. So it seems to be another face of the same problem. 2 2 3 Here is a more dirty workaround until an official solution becomes available. I think it has better chan ges of fixing the problem in case solution with `create_permissions` fails:3 Here is a more dirty workaround until an official solution becomes available. I think it has better chances of fixing the problem in case solution with `create_permissions` fails: 4 4 5 5 {{{