diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index bf31fb1..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 5d381cc..2e5fb27 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,6 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +.DS_Store +*/.DS_Store +**/*/.DS* diff --git a/scores/.DS_Store b/scores/.DS_Store deleted file mode 100644 index 6ab2276..0000000 Binary files a/scores/.DS_Store and /dev/null differ diff --git a/scores/migrations/0008_alter_match_enddate.py b/scores/migrations/0008_alter_match_enddate.py new file mode 100644 index 0000000..5153820 --- /dev/null +++ b/scores/migrations/0008_alter_match_enddate.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2 on 2023-04-28 08:34 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('scores', '0007_match_enddate'), + ] + + operations = [ + migrations.AlterField( + model_name='match', + name='enddate', + field=models.DateTimeField(blank=True, null=True, verbose_name='end date'), + ), + ] diff --git a/scores/models.py b/scores/models.py index 8e7905c..74af909 100644 --- a/scores/models.py +++ b/scores/models.py @@ -12,7 +12,7 @@ class Club(models.Model): class Match(models.Model): club = models.ForeignKey(Club, on_delete=models.CASCADE) date = models.DateTimeField('start date') - enddate = models.DateTimeField('end date', null=True) + enddate = models.DateTimeField('end date', null=True, blank=True) court = models.IntegerField(default=0) title = models.CharField(max_length=200, blank=True) diff --git a/scores/static/.DS_Store b/scores/static/.DS_Store deleted file mode 100644 index 2e86add..0000000 Binary files a/scores/static/.DS_Store and /dev/null differ diff --git a/scores/templates/.DS_Store b/scores/templates/.DS_Store deleted file mode 100644 index b3d21f9..0000000 Binary files a/scores/templates/.DS_Store and /dev/null differ