video curcse
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
jeremygan2021
2026-02-27 13:47:32 +08:00
parent f57edbd4ee
commit 357bd75f24
9 changed files with 206 additions and 44 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 6.0.1 on 2026-02-27 05:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shop', '0037_wechatuser_has_web_badge'),
]
operations = [
migrations.AddField(
model_name='vccourse',
name='is_video_course',
field=models.BooleanField(default=False, verbose_name='是否视频课程'),
),
migrations.AddField(
model_name='vccourse',
name='video_url',
field=models.URLField(blank=True, help_text='仅当用户付费或报名后可见', null=True, verbose_name='视频课程URL'),
),
]