Add video_url for api hot_recommend_list_api

Brightcells 7 年之前
父节点
当前提交
766b17bc0a
共有 1 个文件被更改,包括 21 次插入0 次删除
  1. 21 0
      config/migrations/0002_hotrecommendinfo_video.py

+ 21 - 0
config/migrations/0002_hotrecommendinfo_video.py

@@ -0,0 +1,21 @@
1
+# -*- coding: utf-8 -*-
2
+# Generated by Django 1.11.3 on 2017-10-28 15:49
3
+from __future__ import unicode_literals
4
+
5
+from django.db import migrations, models
6
+import models_ext.fileext
7
+
8
+
9
+class Migration(migrations.Migration):
10
+
11
+    dependencies = [
12
+        ('config', '0001_initial'),
13
+    ]
14
+
15
+    operations = [
16
+        migrations.AddField(
17
+            model_name='hotrecommendinfo',
18
+            name='video',
19
+            field=models.FileField(blank=True, help_text='\u70ed\u95e8\u89c6\u9891', null=True, upload_to=models_ext.fileext.upload_path, verbose_name='video'),
20
+        ),
21
+    ]