-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adding helptext to model fields, removing unused vars (#744)
- Loading branch information
Showing
3 changed files
with
45 additions
and
5 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
30 changes: 30 additions & 0 deletions
30
api/ceramic_cache/migrations/0028_alter_banlist_csv_file_alter_revocationlist_csv_file.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,30 @@ | ||
# Generated by Django 4.2.6 on 2024-12-03 12:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("ceramic_cache", "0027_revocationlist_alter_banlist_csv_file_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="banlist", | ||
name="csv_file", | ||
field=models.FileField( | ||
help_text="CSV file for stamps to revoke. The CSV need sto have at least the following columns \n `type`, `provider`, `hash`, `address`, `end_time` (if empty of `null` will be considered null) to \n identify the ban. If a value is not relevant for a prticular ban, it can be left empty.\n Other columns are ignored.", | ||
max_length=1024, | ||
upload_to="ban_list", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="revocationlist", | ||
name="csv_file", | ||
field=models.FileField( | ||
help_text="CSV file for stamps to revoke. The CSV need sto have at least one column named \n `proof_value` to identify which stamp to revoke. Other columns are ignored.", | ||
max_length=1024, | ||
upload_to="revocation_list", | ||
), | ||
), | ||
] |
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