You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# django CMS 4 Migration
2
2
3
-
**Warning:** If the migration process fails to complete you will not be able to undo the changes without reloading a database backup. We cannot be held accountable for any data loss sustained when running the commands provided in this project. Please keep a database backup before running any commands provided by this package.
3
+
**Warning:** If the migration process fails to complete you will not be able to undo the changes without reloading a database backup. We cannot be held accountable for any data loss sustained when running the commands provided in this project. Please keep a database backup before running any commands provided by this package.
4
4
5
5
## When do I need this package?
6
6
This package is designed to migrate a django CMS 3.5+ project to django CMS 4.0.
@@ -12,13 +12,13 @@ This package is designed to migrate a django CMS 3.5+ project to django CMS 4.0.
12
12
- Runs django CMS' migrations
13
13
14
14
## Limitations
15
-
Due to the nature of the changes between django CMS 3.5+ and 4.0 the package will fail to function if an incompatible package is installed.
15
+
Due to the nature of the changes between django CMS 3.5+ and 4.0 the package will fail to function if an incompatible package is installed.
16
16
17
17
This may require you to:
18
18
- Fork or copy and modify this package to work with any bespoke requirements your project has (we may accept these changes back for popular packages as a configurable option)
19
-
- Ensure that all installed packages for your project are
19
+
- Ensure that all installed packages for your project are
20
20
21
-
## Prerequisites
21
+
## Prerequisites
22
22
Require knowledge of the changes and new features in 4.0:
23
23
- New cms app configuration
24
24
- Revised Page, Title (Now named PageContent) and Placeholder relationships
Simply run the following command to run the data migration.
82
+
Simply run the following command to run the data migration.
83
83
**Note:** This command calls the django migrate command, this is because it has to run commands that save information that would have been lost by running the cms migrations directly.
84
84
```
85
85
python manage.py cms4_migration
86
86
```
87
87
88
-
You can ignore warnings of the form
88
+
You can ignore warnings of the form
89
89
```
90
90
UserWarning: No user has been supplied when creating a new AliasContent object.
91
91
No version could be created. Make sure that the creating code also creates a
0 commit comments