Complete infoscreen video support

Closes issues #5 #7
This commit is contained in:
Joel Lavikainen
2017-05-24 16:44:59 +03:00
parent 7e2cf03ced
commit bec498bfee
10 changed files with 141 additions and 1 deletions
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-05-10 16:54
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('infoscreen', '0003_auto_20170329_1857'),
]
operations = [
migrations.CreateModel(
name='VideoInfoItem',
fields=[
('infoitem_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='infoscreen.InfoItem')),
('video', models.FileField(upload_to='infovideos/')),
],
bases=('infoscreen.infoitem',),
),
]