expose per clip volume in edits
This commit is contained in:
parent
28f9a01d90
commit
be34383f8c
6 changed files with 58 additions and 9 deletions
|
|
@ -44,11 +44,11 @@ class Migration(migrations.Migration):
|
|||
('created', models.DateTimeField(auto_now_add=True)),
|
||||
('modified', models.DateTimeField(auto_now=True)),
|
||||
('name', models.CharField(max_length=255)),
|
||||
('status', models.CharField(default=b'private', max_length=20)),
|
||||
('description', models.TextField(default=b'')),
|
||||
('status', models.CharField(default='private', max_length=20)),
|
||||
('description', models.TextField(default='')),
|
||||
('rightslevel', models.IntegerField(db_index=True, default=0)),
|
||||
('query', oxdjango.fields.DictField(default={b'static': True})),
|
||||
('type', models.CharField(default=b'static', max_length=255)),
|
||||
('query', oxdjango.fields.DictField(default={'static': True})),
|
||||
('type', models.CharField(default='static', max_length=255)),
|
||||
('icon', models.ImageField(blank=True, default=None, null=True, upload_to=edit.models.get_icon_path)),
|
||||
('poster_frames', oxdjango.fields.TupleField(default=[], editable=False)),
|
||||
('subscribed_users', models.ManyToManyField(related_name='subscribed_edits', to=settings.AUTH_USER_MODEL)),
|
||||
|
|
|
|||
26
pandora/edit/migrations/0003_auto_20170415_1029.py
Normal file
26
pandora/edit/migrations/0003_auto_20170415_1029.py
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2017-04-15 10:29
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import oxdjango.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('edit', '0002_auto_20160219_1537'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='clip',
|
||||
old_name='volume',
|
||||
new_name='sortvolume',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='clip',
|
||||
name='volume',
|
||||
field=models.FloatField(default=1),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue