Razmig Sarkissian 3 years ago
parent 7c5d0ddee8
commit bc27754739
  1. BIN
      .DS_Store
  2. 3
      .gitignore
  3. BIN
      scores/.DS_Store
  4. 18
      scores/migrations/0008_alter_match_enddate.py
  5. 2
      scores/models.py
  6. BIN
      scores/static/.DS_Store
  7. BIN
      scores/templates/.DS_Store

BIN
.DS_Store vendored

Binary file not shown.

3
.gitignore vendored

@ -160,3 +160,6 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
.DS_Store
*/.DS_Store
**/*/.DS*

BIN
scores/.DS_Store vendored

Binary file not shown.

@ -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'),
),
]

@ -12,7 +12,7 @@ class Club(models.Model):
class Match(models.Model): class Match(models.Model):
club = models.ForeignKey(Club, on_delete=models.CASCADE) club = models.ForeignKey(Club, on_delete=models.CASCADE)
date = models.DateTimeField('start date') 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) court = models.IntegerField(default=0)
title = models.CharField(max_length=200, blank=True) title = models.CharField(max_length=200, blank=True)

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save