zerver/migrations: Remove u prefix from strings.

This commit is contained in:
rht
2017-11-02 09:17:27 +01:00
committed by showell
parent 38acddee99
commit dc37e3f72c
4 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ from django.db.migrations.state import StateApps
def set_tutorial_status_to_finished(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None:
UserProfile = apps.get_model('zerver', 'UserProfile')
UserProfile.objects.update(tutorial_status=u'F')
UserProfile.objects.update(tutorial_status='F')
class Migration(migrations.Migration):