Skip to content

Commit 3211778

Browse files
authored
Merge pull request #24 from django-cms/chore/update-readme
2 parents 74b74b7 + 26b402d commit 3211778

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* feat: Migrate permissions by @fsbraun in https://github.com/fsbraun/djangocms-4-migration/pull/7
66
* feat: ensure page urls are unique by @fsbraun in https://github.com/fsbraun/djangocms-4-migration/pull/8
7-
7+
* fix: load user model from `AUTH_USER_MODEL`by @foarsitter in https://github.com/fsbraun/djangocms-4-migration/pull/9
88
## 0.1.0 (2025-03-14)
99

1010
* feature: Update foreign key relations to page objects

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# django CMS 4 Migration
22

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.
44

55
## When do I need this package?
66
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.
1212
- Runs django CMS' migrations
1313

1414
## 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.
1616

1717
This may require you to:
1818
- 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
2020

21-
## Prerequisites
21+
## Prerequisites
2222
Require knowledge of the changes and new features in 4.0:
2323
- New cms app configuration
2424
- Revised Page, Title (Now named PageContent) and Placeholder relationships
@@ -55,7 +55,7 @@ pip install djangocms-alias
5555

5656
First install this package in your project
5757
```
58-
pip install git+https://github.com/fsbraun/djangocms-4-migration
58+
pip install git+https://github.com/django-cms/djangocms-4-migration
5959
```
6060

6161
## Configuration
@@ -79,13 +79,13 @@ CMS_MIGRATION_USER_ID = <user id>
7979
```
8080

8181
## Running
82-
Simply run the following command to run the data migration.
82+
Simply run the following command to run the data migration.
8383
**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.
8484
```
8585
python manage.py cms4_migration
8686
```
8787

88-
You can ignore warnings of the form
88+
You can ignore warnings of the form
8989
```
9090
UserWarning: No user has been supplied when creating a new AliasContent object.
9191
No version could be created. Make sure that the creating code also creates a

0 commit comments

Comments
 (0)