add contest announcement

This commit is contained in:
virusdefender
2017-01-29 17:04:56 +08:00
parent 5ced3d9ca0
commit 02940029ef
8 changed files with 98 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.12 on 2017-01-29 08:56
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('contest', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='contestannouncement',
name='created_by',
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
preserve_default=False,
),
]