0003_auto_20180401_1543.py 814 Bytes
Newer Older
1
# Generated by Django 2.0.3 on 2018-04-01 13:43
2
3
4

from django.db import migrations, models
import django.utils.timezone
5
import rex.utils.friendly_path
6
7
8
9
10
11
12
13
14
15
16


class Migration(migrations.Migration):

    dependencies = [
        ('rex', '0002_auto_20180401_1154'),
    ]

    operations = [
        migrations.AddField(
            model_name='university',
17
18
            name='acronym',
            field=models.CharField(default=django.utils.timezone.now, max_length=20),
19
20
            preserve_default=False,
        ),
21
        migrations.AddField(
22
            model_name='university',
23
24
25
            name='logo',
            field=models.ImageField(default=django.utils.timezone.now, upload_to=rex.utils.friendly_path.friendly_path('uploads/universities/logos/', 'name')),
            preserve_default=False,
26
27
        ),
    ]