diff --git a/accounts/migrations/0006_alter_account_near_social_profile_data.py b/accounts/migrations/0006_alter_account_near_social_profile_data.py new file mode 100644 index 0000000..45dc3ea --- /dev/null +++ b/accounts/migrations/0006_alter_account_near_social_profile_data.py @@ -0,0 +1,23 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("accounts", "0005_alter_account_chain"), + ] + + operations = [ + migrations.AlterField( + model_name="account", + name="near_social_profile_data", + field=models.JSONField( + blank=True, + help_text="NEAR social data contained under 'profile' key.", + null=True, + verbose_name="NEAR social profile data", + ), + ), + ] diff --git a/accounts/models.py b/accounts/models.py index 65a869d..a6175b0 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -57,6 +57,7 @@ class Account(models.Model): near_social_profile_data = models.JSONField( _("NEAR social profile data"), null=True, + blank=True, help_text=_("NEAR social data contained under 'profile' key."), ) diff --git a/activities/migrations/0005_alter_activity_action_result_alter_activity_tx_hash.py b/activities/migrations/0005_alter_activity_action_result_alter_activity_tx_hash.py new file mode 100644 index 0000000..039c2a5 --- /dev/null +++ b/activities/migrations/0005_alter_activity_action_result_alter_activity_tx_hash.py @@ -0,0 +1,34 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("activities", "0004_alter_activity_tx_hash"), + ] + + operations = [ + migrations.AlterField( + model_name="activity", + name="action_result", + field=models.JSONField( + blank=True, + help_text="Activity action result.", + null=True, + verbose_name="action result", + ), + ), + migrations.AlterField( + model_name="activity", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + max_length=64, + null=True, + verbose_name="transaction hash", + ), + ), + ] diff --git a/activities/models.py b/activities/models.py index 3eefb5b..274a0e3 100644 --- a/activities/models.py +++ b/activities/models.py @@ -48,12 +48,14 @@ class Activity(models.Model): action_result = models.JSONField( _("action result"), null=True, + blank=True, help_text=_("Activity action result."), ) tx_hash = models.CharField( _("transaction hash"), max_length=64, null=True, + blank=True, help_text=_("Transaction hash."), ) type = models.CharField( diff --git a/donations/migrations/0013_alter_donation_chef_alter_donation_chef_fee_and_more.py b/donations/migrations/0013_alter_donation_chef_alter_donation_chef_fee_and_more.py new file mode 100644 index 0000000..0b4314d --- /dev/null +++ b/donations/migrations/0013_alter_donation_chef_alter_donation_chef_fee_and_more.py @@ -0,0 +1,169 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("accounts", "0006_alter_account_near_social_profile_data"), + ("donations", "0012_update_donations_net_amount"), + ("pots", "0012_alter_pot_base_currency_alter_pot_chef_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="donation", + name="chef", + field=models.ForeignKey( + blank=True, + help_text="Donation chef.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="chef_donations", + to="accounts.account", + ), + ), + migrations.AlterField( + model_name="donation", + name="chef_fee", + field=models.CharField( + blank=True, + help_text="Chef fee.", + max_length=64, + null=True, + verbose_name="chef fee", + ), + ), + migrations.AlterField( + model_name="donation", + name="chef_fee_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Chef fee in USD.", + max_digits=20, + null=True, + verbose_name="chef fee in USD", + ), + ), + migrations.AlterField( + model_name="donation", + name="message", + field=models.TextField( + blank=True, + help_text="Donation message.", + max_length=1024, + null=True, + verbose_name="message", + ), + ), + migrations.AlterField( + model_name="donation", + name="net_amount_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Net amount in USD.", + max_digits=20, + null=True, + verbose_name="net amount in USD", + ), + ), + migrations.AlterField( + model_name="donation", + name="pot", + field=models.ForeignKey( + blank=True, + help_text="Donation pot.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="donations", + to="pots.pot", + ), + ), + migrations.AlterField( + model_name="donation", + name="protocol_fee_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Protocol fee in USD.", + max_digits=20, + null=True, + verbose_name="protocol fee in USD", + ), + ), + migrations.AlterField( + model_name="donation", + name="recipient", + field=models.ForeignKey( + blank=True, + help_text="Donation recipient.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="received_donations", + to="accounts.account", + ), + ), + migrations.AlterField( + model_name="donation", + name="referrer", + field=models.ForeignKey( + blank=True, + help_text="Donation referrer.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="referral_donations", + to="accounts.account", + ), + ), + migrations.AlterField( + model_name="donation", + name="referrer_fee", + field=models.CharField( + blank=True, + help_text="Referrer fee.", + max_length=64, + null=True, + verbose_name="referrer fee", + ), + ), + migrations.AlterField( + model_name="donation", + name="referrer_fee_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Referrer fee in USD.", + max_digits=20, + null=True, + verbose_name="referrer fee in USD", + ), + ), + migrations.AlterField( + model_name="donation", + name="total_amount_usd", + field=models.DecimalField( + blank=True, + db_index=True, + decimal_places=2, + help_text="Total amount in USD.", + max_digits=20, + null=True, + verbose_name="total amount in USD", + ), + ), + migrations.AlterField( + model_name="donation", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + max_length=64, + null=True, + verbose_name="transaction hash", + ), + ), + ] diff --git a/donations/models.py b/donations/models.py index 824be55..b05c431 100644 --- a/donations/models.py +++ b/donations/models.py @@ -47,6 +47,7 @@ class Donation(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Total amount in USD."), db_index=True, ) @@ -61,6 +62,7 @@ class Donation(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Net amount in USD."), ) # ft = models.ForeignKey( @@ -83,6 +85,7 @@ class Donation(models.Model): on_delete=models.CASCADE, related_name="donations", null=True, + blank=True, help_text=_("Donation pot."), db_index=True, ) @@ -96,6 +99,7 @@ class Donation(models.Model): _("message"), max_length=1024, null=True, + blank=True, help_text=_("Donation message."), ) donated_at = models.DateTimeField( @@ -109,6 +113,7 @@ class Donation(models.Model): on_delete=models.CASCADE, related_name="received_donations", null=True, + blank=True, help_text=_("Donation recipient."), db_index=True, ) @@ -123,6 +128,7 @@ class Donation(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Protocol fee in USD."), ) referrer = models.ForeignKey( @@ -130,12 +136,14 @@ class Donation(models.Model): on_delete=models.CASCADE, related_name="referral_donations", null=True, + blank=True, help_text=_("Donation referrer."), ) referrer_fee = models.CharField( _("referrer fee"), max_length=64, null=True, + blank=True, help_text=_("Referrer fee."), ) referrer_fee_usd = models.DecimalField( @@ -143,6 +151,7 @@ class Donation(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Referrer fee in USD."), ) chef = models.ForeignKey( @@ -150,12 +159,14 @@ class Donation(models.Model): on_delete=models.CASCADE, related_name="chef_donations", null=True, + blank=True, help_text=_("Donation chef."), ) chef_fee = models.CharField( _("chef fee"), max_length=64, null=True, + blank=True, help_text=_("Chef fee."), ) chef_fee_usd = models.DecimalField( @@ -163,12 +174,14 @@ class Donation(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Chef fee in USD."), ) tx_hash = models.CharField( _("transaction hash"), max_length=64, null=True, + blank=True, help_text=_("Transaction hash."), ) diff --git a/indexer_app/migrations/0003_alter_blockheight_block_timestamp.py b/indexer_app/migrations/0003_alter_blockheight_block_timestamp.py new file mode 100644 index 0000000..d48b410 --- /dev/null +++ b/indexer_app/migrations/0003_alter_blockheight_block_timestamp.py @@ -0,0 +1,23 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("indexer_app", "0002_blockheight_block_timestamp"), + ] + + operations = [ + migrations.AlterField( + model_name="blockheight", + name="block_timestamp", + field=models.DateTimeField( + blank=True, + help_text="date equivalent of the block height.", + null=True, + verbose_name="block timestamp", + ), + ), + ] diff --git a/indexer_app/models.py b/indexer_app/models.py index ace12ec..933bfe9 100644 --- a/indexer_app/models.py +++ b/indexer_app/models.py @@ -16,6 +16,7 @@ class BlockHeight(models.Model): _("block timestamp"), help_text=_("date equivalent of the block height."), null=True, + blank=True, ) updated_at = models.DateTimeField( _("updated at"), diff --git a/lists/migrations/0007_alter_list_cover_image_url_alter_list_description_and_more.py b/lists/migrations/0007_alter_list_cover_image_url_alter_list_description_and_more.py new file mode 100644 index 0000000..66ef357 --- /dev/null +++ b/lists/migrations/0007_alter_list_cover_image_url_alter_list_description_and_more.py @@ -0,0 +1,67 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("lists", "0006_alter_listregistration_unique_together"), + ] + + operations = [ + migrations.AlterField( + model_name="list", + name="cover_image_url", + field=models.URLField( + blank=True, + help_text="Cover image url.", + null=True, + verbose_name="cover image url", + ), + ), + migrations.AlterField( + model_name="list", + name="description", + field=models.TextField( + blank=True, + help_text="List description.", + max_length=256, + null=True, + verbose_name="description", + ), + ), + migrations.AlterField( + model_name="listregistration", + name="admin_notes", + field=models.TextField( + blank=True, + help_text="Admin notes.", + max_length=1024, + null=True, + verbose_name="admin notes", + ), + ), + migrations.AlterField( + model_name="listregistration", + name="registrant_notes", + field=models.TextField( + blank=True, + help_text="Registrant notes.", + max_length=1024, + null=True, + verbose_name="registrant notes", + ), + ), + migrations.AlterField( + model_name="listregistration", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + max_length=64, + null=True, + verbose_name="transaction hash", + ), + ), + ] diff --git a/lists/models.py b/lists/models.py index 953b1fe..9754f93 100644 --- a/lists/models.py +++ b/lists/models.py @@ -46,11 +46,13 @@ class List(models.Model): _("description"), max_length=256, null=True, + blank=True, help_text=_("List description."), ) cover_image_url = models.URLField( _("cover image url"), null=True, + blank=True, help_text=_("Cover image url."), ) admin_only_registrations = models.BooleanField( @@ -161,18 +163,21 @@ class ListRegistration(models.Model): _("registrant notes"), max_length=1024, null=True, + blank=True, help_text=_("Registrant notes."), ) admin_notes = models.TextField( _("admin notes"), max_length=1024, null=True, + blank=True, help_text=_("Admin notes."), ) tx_hash = models.CharField( _("transaction hash"), max_length=64, null=True, + blank=True, help_text=_("Transaction hash."), ) diff --git a/nadabot/migrations/0003_alter_group_rule_type_alter_group_rule_val_and_more.py b/nadabot/migrations/0003_alter_group_rule_type_alter_group_rule_val_and_more.py new file mode 100644 index 0000000..ea2de00 --- /dev/null +++ b/nadabot/migrations/0003_alter_group_rule_type_alter_group_rule_val_and_more.py @@ -0,0 +1,51 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("nadabot", "0002_rename_id_nadabotregistry_account"), + ] + + operations = [ + migrations.AlterField( + model_name="group", + name="rule_type", + field=models.CharField( + blank=True, + choices=[ + ("Highest", "Highest"), + ("Lowest", "Lowest"), + ("Sum", "Sum"), + ("Diminishing_returns", "Diminishing Returns"), + ("Increasing_returns", "Increasing Returns"), + ], + help_text="The rule this group uses.", + max_length=100, + null=True, + verbose_name="rule type", + ), + ), + migrations.AlterField( + model_name="group", + name="rule_val", + field=models.PositiveIntegerField( + blank=True, + help_text="An optional value that the group's rule choices might carry.", + null=True, + verbose_name="rule value", + ), + ), + migrations.AlterField( + model_name="provider", + name="custom_args", + field=models.CharField( + blank=True, + help_text="Custom args as Base64VecU8.", + null=True, + verbose_name="custom args", + ), + ), + ] diff --git a/nadabot/models.py b/nadabot/models.py index e0b6cdf..ee21794 100644 --- a/nadabot/models.py +++ b/nadabot/models.py @@ -207,6 +207,7 @@ class Provider(models.Model): custom_args = models.CharField( _("custom args"), null=True, + blank=True, help_text=_("Custom args as Base64VecU8.") ) registry = models.ForeignKey( @@ -254,11 +255,13 @@ class Group(models.Model): choices=RuleType, max_length=100, null=True, + blank=True, help_text=_("The rule this group uses.") ) rule_val = models.PositiveIntegerField( _("rule value"), null=True, + blank=True, help_text=_("An optional value that the group's rule choices might carry."), ) providers = models.ManyToManyField( diff --git a/pots/migrations/0012_alter_pot_base_currency_alter_pot_chef_and_more.py b/pots/migrations/0012_alter_pot_base_currency_alter_pot_chef_and_more.py new file mode 100644 index 0000000..ab2e610 --- /dev/null +++ b/pots/migrations/0012_alter_pot_base_currency_alter_pot_chef_and_more.py @@ -0,0 +1,261 @@ +# Generated by Django 5.0.6 on 2024-07-25 17:16 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("accounts", "0006_alter_account_near_social_profile_data"), + ("pots", "0011_rename_id_pot_account_rename_id_potfactory_account"), + ] + + operations = [ + migrations.AlterField( + model_name="pot", + name="base_currency", + field=models.CharField( + blank=True, + help_text="Base currency.", + max_length=64, + null=True, + verbose_name="base currency", + ), + ), + migrations.AlterField( + model_name="pot", + name="chef", + field=models.ForeignKey( + blank=True, + help_text="Pot chef.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="chef_pots", + to="accounts.account", + ), + ), + migrations.AlterField( + model_name="pot", + name="cooldown_end", + field=models.DateTimeField( + blank=True, + help_text="Pot cooldown end date.", + null=True, + verbose_name="cooldown end", + ), + ), + migrations.AlterField( + model_name="pot", + name="cooldown_period_ms", + field=models.PositiveIntegerField( + blank=True, + help_text="Pot cooldown period in ms.", + null=True, + verbose_name="cooldown period in ms", + ), + ), + migrations.AlterField( + model_name="pot", + name="custom_min_threshold_score", + field=models.PositiveIntegerField( + blank=True, + help_text="Custom min threshold score.", + null=True, + verbose_name="custom min threshold score", + ), + ), + migrations.AlterField( + model_name="pot", + name="custom_sybil_checks", + field=models.CharField( + blank=True, + help_text="Custom sybil checks.", + null=True, + verbose_name="custom sybil checks", + ), + ), + migrations.AlterField( + model_name="pot", + name="protocol_config_provider", + field=models.CharField( + blank=True, + help_text="Protocol config provider.", + null=True, + verbose_name="protocol config provider", + ), + ), + migrations.AlterField( + model_name="pot", + name="registry_provider", + field=models.CharField( + blank=True, + help_text="Registry provider.", + null=True, + verbose_name="registry provider", + ), + ), + migrations.AlterField( + model_name="pot", + name="sybil_wrapper_provider", + field=models.CharField( + blank=True, + help_text="Sybil wrapper provider.", + null=True, + verbose_name="sybil wrapper provider", + ), + ), + migrations.AlterField( + model_name="pot", + name="total_matching_pool_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Total matching pool in USD.", + max_digits=20, + null=True, + verbose_name="total matching pool in USD", + ), + ), + migrations.AlterField( + model_name="pot", + name="total_public_donations_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Total public donations in USD.", + max_digits=20, + null=True, + verbose_name="total public donations in USD", + ), + ), + migrations.AlterField( + model_name="potapplication", + name="message", + field=models.TextField( + blank=True, + help_text="Application message.", + max_length=1024, + null=True, + verbose_name="message", + ), + ), + migrations.AlterField( + model_name="potapplication", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + null=True, + verbose_name="transaction hash", + ), + ), + migrations.AlterField( + model_name="potapplication", + name="updated_at", + field=models.DateTimeField( + blank=True, + help_text="Application last update date.", + null=True, + verbose_name="updated at", + ), + ), + migrations.AlterField( + model_name="potapplicationreview", + name="notes", + field=models.TextField( + blank=True, + help_text="Review notes.", + max_length=1024, + null=True, + verbose_name="notes", + ), + ), + migrations.AlterField( + model_name="potapplicationreview", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + null=True, + verbose_name="transaction hash", + ), + ), + migrations.AlterField( + model_name="potfactory", + name="source_metadata", + field=models.JSONField( + blank=True, + help_text="Pot factory source metadata.", + null=True, + verbose_name="source metadata", + ), + ), + migrations.AlterField( + model_name="potpayout", + name="amount_paid_usd", + field=models.DecimalField( + blank=True, + decimal_places=2, + help_text="Payout amount in USD.", + max_digits=20, + null=True, + verbose_name="amount paid in USD", + ), + ), + migrations.AlterField( + model_name="potpayout", + name="paid_at", + field=models.DateTimeField( + blank=True, + db_index=True, + help_text="Payout date.", + null=True, + verbose_name="paid at", + ), + ), + migrations.AlterField( + model_name="potpayout", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + null=True, + verbose_name="transaction hash", + ), + ), + migrations.AlterField( + model_name="potpayoutchallengeadminresponse", + name="challenger", + field=models.ForeignKey( + blank=True, + help_text="challenger being responded to.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="payout_admin_responses", + to="accounts.account", + ), + ), + migrations.AlterField( + model_name="potpayoutchallengeadminresponse", + name="pot", + field=models.ForeignKey( + blank=True, + help_text="Pot being challenged.", + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name="payout_responses", + to="pots.pot", + ), + ), + migrations.AlterField( + model_name="potpayoutchallengeadminresponse", + name="tx_hash", + field=models.CharField( + blank=True, + help_text="Transaction hash.", + null=True, + verbose_name="transaction hash", + ), + ), + ] diff --git a/pots/models.py b/pots/models.py index 44c71ef..fe57a21 100644 --- a/pots/models.py +++ b/pots/models.py @@ -45,6 +45,7 @@ class PotFactory(models.Model): source_metadata = models.JSONField( _("source metadata"), null=True, + blank=True, help_text=_("Pot factory source metadata."), ) protocol_fee_basis_points = models.PositiveIntegerField( @@ -147,6 +148,7 @@ class Pot(models.Model): on_delete=models.CASCADE, related_name="chef_pots", null=True, + blank=True, help_text=_("Pot chef."), ) name = models.TextField( @@ -168,6 +170,7 @@ class Pot(models.Model): _("base currency"), max_length=64, null=True, + blank=True, help_text=_("Base currency."), ) application_start = models.DateTimeField( @@ -193,6 +196,7 @@ class Pot(models.Model): registry_provider = models.CharField( _("registry provider"), null=True, + blank=True, help_text=_("Registry provider."), ) min_matching_pool_donation_amount = models.CharField( @@ -203,16 +207,19 @@ class Pot(models.Model): sybil_wrapper_provider = models.CharField( _("sybil wrapper provider"), null=True, + blank=True, help_text=_("Sybil wrapper provider."), ) custom_sybil_checks = models.CharField( _("custom sybil checks"), null=True, + blank=True, help_text=_("Custom sybil checks."), ) custom_min_threshold_score = models.PositiveIntegerField( _("custom min threshold score"), null=True, + blank=True, help_text=_("Custom min threshold score."), ) referral_fee_matching_pool_basis_points = models.PositiveIntegerField( @@ -240,6 +247,7 @@ class Pot(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Total matching pool in USD."), ) matching_pool_balance = models.CharField( @@ -262,6 +270,7 @@ class Pot(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Total public donations in USD."), ) public_donations_count = models.PositiveIntegerField( @@ -272,11 +281,13 @@ class Pot(models.Model): cooldown_end = models.DateTimeField( _("cooldown end"), null=True, + blank=True, help_text=_("Pot cooldown end date."), ) cooldown_period_ms = models.PositiveIntegerField( _("cooldown period in ms"), null=True, + blank=True, help_text=_("Pot cooldown period in ms."), ) all_paid_out = models.BooleanField( @@ -287,6 +298,7 @@ class Pot(models.Model): protocol_config_provider = models.CharField( _("protocol config provider"), null=True, + blank=True, help_text=_("Protocol config provider."), ) @@ -336,6 +348,7 @@ class PotApplication(models.Model): _("message"), max_length=1024, null=True, + blank=True, help_text=_("Application message."), ) status = models.CharField( @@ -354,11 +367,13 @@ class PotApplication(models.Model): updated_at = models.DateTimeField( _("updated at"), null=True, + blank=True, help_text=_("Application last update date."), ) tx_hash = models.CharField( _("transaction hash"), null=True, + blank=True, help_text=_("Transaction hash."), ) @@ -395,6 +410,7 @@ class PotApplicationReview(models.Model): _("notes"), max_length=1024, null=True, + blank=True, help_text=_("Review notes."), ) status = models.CharField( @@ -412,6 +428,7 @@ class PotApplicationReview(models.Model): tx_hash = models.CharField( _("transaction hash"), null=True, + blank=True, help_text=_("Transaction hash."), ) @@ -453,6 +470,7 @@ class PotPayout(models.Model): max_digits=20, decimal_places=2, null=True, + blank=True, help_text=_("Payout amount in USD."), ) token = models.ForeignKey( @@ -465,12 +483,14 @@ class PotPayout(models.Model): paid_at = models.DateTimeField( _("paid at"), null=True, + blank=True, help_text=_("Payout date."), db_index=True, ) tx_hash = models.CharField( _("transaction hash"), null=True, + blank=True, help_text=_("Transaction hash."), ) @@ -541,6 +561,7 @@ class PotPayoutChallengeAdminResponse(models.Model): on_delete=models.CASCADE, related_name="payout_admin_responses", null=True, + blank=True, help_text=_("challenger being responded to."), ) @@ -549,6 +570,7 @@ class PotPayoutChallengeAdminResponse(models.Model): on_delete=models.CASCADE, related_name="payout_responses", null=True, + blank=True, help_text=_("Pot being challenged."), ) @@ -578,6 +600,7 @@ class PotPayoutChallengeAdminResponse(models.Model): tx_hash = models.CharField( _("transaction hash"), null=True, + blank=True, help_text=_("Transaction hash."), )