word-challenge/words/migrations/0004_work_upload_time.py
Gergely Polonkai e71eb45260 Add Draw.successful()
It can decide if the given draw was successful:

* The word is accepted
* Work was submitted for the word
* The work was submitted on time
2015-11-27 14:59:36 +01:00

21 lines
453 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('words', '0003_draw_word_related'),
]
operations = [
migrations.AddField(
model_name='work',
name='upload_time',
field=models.DateTimeField(default=django.utils.timezone.now),
),
]