1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-11-30 12:18
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import photos.models
class Migration(migrations.Migration):
dependencies = [
('photos', '0016_auto_20161022_1411'),
]
operations = [
migrations.CreateModel(
name='LuxVideo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('video_mp4', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)),
('video_webm', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)),
('video_poster', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)),
('title', models.CharField(blank=True, max_length=300, null=True)),
('pub_date', models.DateTimeField(default=datetime.datetime.now)),
],
options={
'verbose_name_plural': 'Videos',
'ordering': ('-pub_date', 'id'),
'get_latest_by': 'pub_date',
},
),
migrations.AlterField(
model_name='luximage',
name='pub_date',
field=models.DateTimeField(default=datetime.datetime.now),
),
]
|