diff --git a/TODO b/TODO index b51b538..e872283 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,8 @@ - calculate "claimed points" - listviews mit pagination evaluieren - top overview mit claimed und real score - - add times to contest - - copy data automatically from shadow users to registered users - check QSO checking, not both sides get linked to each other + - user + points overview (Partially) Done - bootstrap muss gelernt sein (sieht aber noch an vielen stellen crappy aus) @@ -30,6 +29,8 @@ - cbr parser zum hochladen - link/funktion um qsos erneut gegeneinander checken zu lassen - registered datum, name und "genauer standort" für benutzer und shadowbenutzer? + - copy data automatically from shadow users to registered users + - add times to contest Glaube nich, dass ich das mache - call dupe validation könnte ins model wandern diff --git a/contest/migrations/0018_auto_20170128_1639.py b/contest/migrations/0018_auto_20170128_1639.py new file mode 100644 index 0000000..82624c6 --- /dev/null +++ b/contest/migrations/0018_auto_20170128_1639.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-01-28 16:39 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.utils.timezone + + +class Migration(migrations.Migration): + + dependencies = [ + ('contest', '0017_auto_20170127_1833'), + ] + + operations = [ + migrations.AddField( + model_name='contest', + name='qsoEndTime', + field=models.DateTimeField(default=django.utils.timezone.now), + preserve_default=False, + ), + migrations.AddField( + model_name='contest', + name='qsoStartTime', + field=models.DateTimeField(default=django.utils.timezone.now), + preserve_default=False, + ), + ] diff --git a/contest/models.py b/contest/models.py index fcc4e1d..8598af7 100644 --- a/contest/models.py +++ b/contest/models.py @@ -16,6 +16,9 @@ class Contest(models.Model): callQrg = models.ForeignKey("Frequency", models.SET_NULL, null=True, blank=True) deadline = models.DateTimeField() + qsoStartTime = models.DateTimeField() + qsoEndTime = models.DateTimeField() + def __str__(self): return self.name