From c585417eb581d78335f020e5ab7ea917f7ae5143 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Fri, 28 Apr 2023 10:45:53 +0200 Subject: [PATCH] cherry pick cleanup --- .gitignore | 3 +++ scores/migrations/0008_alter_match_enddate.py | 18 ++++++++++++++++++ scores/models.py | 2 +- scores/static/.DS_Store | Bin 6148 -> 0 bytes scores/templates/.DS_Store | Bin 6148 -> 0 bytes 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 scores/migrations/0008_alter_match_enddate.py delete mode 100644 scores/static/.DS_Store delete mode 100644 scores/templates/.DS_Store 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/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 2e86add08fb6e1ddd112e7241b6b02821052eab4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKO-jWu5T4Pe6x_U}%N)SXyFo4S1n&aUR&>#lhsAv^<0V{s125z^nNeC_!G$0q zGmw0f%ukvRnq-KGo2Pz9v?ZbnO^`)d5t&{!otX0(kV}p`n)<05+LVTsM1OHgzWtmg z>L}48&AuNSS{jD?-M&lXVYZ7!;Fw};ht$GeJ-=MV=I!8dl} z3^)VMfHUw@2IPu^R2PcgI|I&uGw{iPoDTs_ur|z!<>)|HN&w&n(?y_5Eg><%ur|z! zus~Qtff~wIVz7o|KA2x^m=!gg*oqIfl|PCXE~_JdDDK3yqW8{#Gq7afREJx+|8MZi ztQPsp5Fa@M&cHuofH!d;8*Iw%)}!soT^rDD(L}^AivoeZcm!Y|=g4I-sy&DfzuGV> UN*0+f;Xr=~6hgdn27ZBocdGI-*#H0l diff --git a/scores/templates/.DS_Store b/scores/templates/.DS_Store deleted file mode 100644 index b3d21f9b28c781e34186f2caaeea111064608463..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}T^D5T4O01uuK_m{(Yzpf2?Z_64M^=%FRc7VkX^zR@1{4SXTL$&Avt1rLIV z%s}!@GCyfPXp$i!-aL0}q7@O9Xo4)tg2?ou>CBujfShtX(AbS_-^AE2B>Ia}^6i&2 zQcIEcH2Z#RC^z(v>uno{-E0?G;1KJ&>0<+Xd3Y^eZr+Z!Uvmtx`_^aobh6HDNmrc# zXTTY72AqMPG9XtRq`Xq}-WhNPoPkdU{u!fAEn56PXlQuN*#a0YS)&ULtw`~MEV z%wmzBhxo`Da0dPv16 Vijqa