Skip to content

Commit

Permalink
Add warning about contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
DeD1rk committed Dec 11, 2023
1 parent f73d87f commit 2f1e892
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions website/registrations/migrations/0031_alter_entry_length.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.2.7 on 2023-12-11 13:32

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("registrations", "0030_alter_registration_first_name_and_more"),
]

operations = [
migrations.AlterField(
model_name="entry",
name="length",
field=models.CharField(
choices=[
("year", "One year -- €7.50"),
("study", "Until graduation -- €30.00"),
],
help_text="Warning: changing this in the admin does not update the contribution.",
max_length=20,
verbose_name="membership length",
),
),
]
1 change: 1 addition & 0 deletions website/registrations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class Entry(models.Model):
length = models.CharField(
verbose_name=_("membership length"),
choices=MEMBERSHIP_LENGTHS,
help_text="Warning: changing this in the admin does not update the contribution.",
max_length=20,
)

Expand Down

0 comments on commit 2f1e892

Please sign in to comment.