mirror of
https://github.com/pretix/pretix.git
synced 2026-05-17 17:14:04 +00:00
rename secret to claim_token
This commit is contained in:
@@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
|||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="reusablemedium",
|
model_name="reusablemedium",
|
||||||
name="secret",
|
name="claim_token",
|
||||||
field=models.CharField(max_length=200, null=True),
|
field=models.CharField(max_length=200, null=True),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
@@ -22,7 +22,7 @@ def reverse(apps, schema_editor):
|
|||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
("pretixbase", "0297_add_reusablemedium_secret"),
|
("pretixbase", "0297_add_reusablemedium_label"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|||||||
@@ -72,9 +72,9 @@ class ReusableMedium(LoggedModel):
|
|||||||
max_length=200,
|
max_length=200,
|
||||||
verbose_name=pgettext_lazy('reusable_medium', 'Identifier'),
|
verbose_name=pgettext_lazy('reusable_medium', 'Identifier'),
|
||||||
)
|
)
|
||||||
secret = models.CharField(
|
claim_token = models.CharField(
|
||||||
max_length=200,
|
max_length=200,
|
||||||
verbose_name=pgettext_lazy('reusable_medium', 'Secret'),
|
verbose_name=pgettext_lazy('reusable_medium', 'Claim token'),
|
||||||
null=True, blank=True
|
null=True, blank=True
|
||||||
)
|
)
|
||||||
label = models.CharField(
|
label = models.CharField(
|
||||||
|
|||||||
Reference in New Issue
Block a user