fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor view changes.
[audio.git]
/
src
/
youtube
/
migrations
/
0012_move_thumbnail_definitions.py
diff --git
a/src/youtube/migrations/0012_move_thumbnail_definitions.py
b/src/youtube/migrations/0012_move_thumbnail_definitions.py
index
a54cf12
..
15909f0
100644
(file)
--- a/
src/youtube/migrations/0012_move_thumbnail_definitions.py
+++ b/
src/youtube/migrations/0012_move_thumbnail_definitions.py
@@
-18,7
+18,7
@@
def move_definitions(apps, schema_editor):
ThumbnailTemplate = apps.get_model('youtube', 'ThumbnailTemplate')
order = 1
for youtube in YouTube.objects.all():
ThumbnailTemplate = apps.get_model('youtube', 'ThumbnailTemplate')
order = 1
for youtube in YouTube.objects.all():
- src_def = yaml.load(youtube.thumbnail_definition)
+ src_def = yaml.
safe_
load(youtube.thumbnail_definition)
version_lists = [
box['versions']
for box in src_def['boxes']
version_lists = [
box['versions']
for box in src_def['boxes']