-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Django to 5.0, use db_default in psychopass
- Loading branch information
Showing
7 changed files
with
99 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
58 changes: 58 additions & 0 deletions
58
psychopass/migrations/0004_alter_userpsychopass_identity_attack_and_more.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Generated by Django 5.0 on 2023-12-05 00:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('psychopass', '0003_remove_communitypsychopass_community_id_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='identity_attack', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='insult', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='messages', | ||
field=models.PositiveIntegerField(db_default=models.Value(0)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='profanity', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='psycho_hazard', | ||
field=models.BooleanField(db_default=models.Value(False)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='severe_toxicity', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='sexually_explicit', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='threat', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
migrations.AlterField( | ||
model_name='userpsychopass', | ||
name='toxicity', | ||
field=models.FloatField(db_default=models.Value(0.5)), | ||
), | ||
] |
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
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
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