diff --git a/alkatorapi/migrations/0007_remove_user_paid_user_alkator.py b/alkatorapi/migrations/0007_remove_user_paid_user_alkator.py new file mode 100644 index 0000000..5ef1e24 --- /dev/null +++ b/alkatorapi/migrations/0007_remove_user_paid_user_alkator.py @@ -0,0 +1,22 @@ +# Generated by Django 4.2.11 on 2024-05-06 10:45 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('alkatorapi', '0006_alter_user_address'), + ] + + operations = [ + migrations.RemoveField( + model_name='user', + name='paid', + ), + migrations.AddField( + model_name='user', + name='alkator', + field=models.BooleanField(default=True), + ), + ] diff --git a/alkatorapi/models.py b/alkatorapi/models.py index dcc16ac..9850ec9 100644 --- a/alkatorapi/models.py +++ b/alkatorapi/models.py @@ -8,9 +8,9 @@ class User(models.Model): email = models.EmailField(max_length=120, null=True, blank=True) date_of_birth = models.DateField(null=True, blank=True) register_date = models.DateTimeField(auto_now=True) - paid = models.BooleanField(default=False) duration = models.DurationField(null=True, blank=True) starting_number = models.IntegerField(null=True, blank=True) + alkator = models.BooleanField(default=True) def __str__(self): - return f"" + return f"" diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 2ab7bea..48cb12b 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -106,6 +106,7 @@ class Main extends Component {
+

Další ročník bude teprve oznámen!

{/*
@@ -134,7 +135,7 @@ class Main extends Component { */}
-
+

Vítej člověče! Momentálně se nacházíš na oficiální stránce závodu ALKÁTOR RACE.

A co že jsme si to zase vymysleli!?

@@ -154,12 +155,12 @@ class Main extends Component {

Rozhodně se podívej na FAQ sekci, zde na stránce, kde najdeš důležité informace týkající se závodu ALKÁTOR RACE.

Sportem ku chlastu!

- {/*
+ {/* + */}