This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix string types in migrations for Python 3
This change removes the leading `b` from strings in the migrations. Python 3 differentiates between strings and bytes, and this causes `makemigrations` to make new migrations to convert all the `b''` strings in the migrations to regular strings. This change avoids creating those superfluous migrations.
- Loading branch information
1 parent
4aa8a11
commit 0fc5569
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters