Skip to content

Commit

Permalink
Updated migration path to also update Django content-types
Browse files Browse the repository at this point in the history
  • Loading branch information
beachmachine committed Oct 24, 2022
1 parent b3b7ccf commit f24e451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Newer releases are published as [drf-multitokenauth](https://pypi.org/project/dr
```
ALTER TABLE django_rest_multitokenauth_multitoken RENAME to drf_multitokenauth_multitoken;
UPDATE django_migrations SET app = 'drf_multitokenauth' WHERE app = 'django_rest_multitokenauth';
UPDATE django_content_type SET app_label = 'drf_multitokenauth' WHERE app_label = 'django_rest_multitokenauth';
```
4. Run Django migrations
Expand Down

0 comments on commit f24e451

Please sign in to comment.