-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add blank=True to nullable Token fields for admin
- Loading branch information
1 parent
167bc4d
commit 2b57240
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
tokens/migrations/0005_alter_token_coingecko_id_alter_token_icon_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,56 @@ | ||
# Generated by Django 5.0.4 on 2024-07-18 13:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("tokens", "0004_alter_token_coingecko_id"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="token", | ||
name="coingecko_id", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Token id on coingecko.", | ||
max_length=255, | ||
null=True, | ||
verbose_name="coingecko_id", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="token", | ||
name="icon", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Token icon (base64 data URL).", | ||
null=True, | ||
verbose_name="icon", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="token", | ||
name="name", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Token name.", | ||
max_length=255, | ||
null=True, | ||
verbose_name="name", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="token", | ||
name="symbol", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Token symbol.", | ||
max_length=255, | ||
null=True, | ||
verbose_name="symbol", | ||
), | ||
), | ||
] |
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