# Generated by Django 2.0 on 2018-10-19 14:22

import datetime
import django.core.validators
from django.db import migrations, models
from django.utils.timezone import utc
import watermarking.models


class Migration(migrations.Migration):

    dependencies = [
        ('watermarking', '0002_auto_20181019_1240'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='watermarking',
            name='method_date',
        ),
        migrations.RemoveField(
            model_name='watermarking',
            name='upload_date',
        ),
        migrations.AddField(
            model_name='watermarking',
            name='created_at',
            field=models.DateField(default=datetime.datetime(2018, 10, 19, 14, 22, 5, 806941, tzinfo=utc)),
        ),
        migrations.AddField(
            model_name='watermarking',
            name='paper',
            field=models.FileField(blank=True, upload_to=watermarking.models.random_source_code_name, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'], message="Please upload '.pdf' files only.")]),
        ),
        migrations.AddField(
            model_name='watermarking',
            name='source_code',
            field=models.FileField(blank=True, upload_to=watermarking.models.random_source_code_name, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['py'], message="Please upload '.py' files only.")]),
        ),
        migrations.AddField(
            model_name='watermarking',
            name='uploaded_at',
            field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 14, 22, 5, 806898, tzinfo=utc)),
        ),
    ]
