This commit is contained in:
caoqianming 2020-06-12 18:13:59 +08:00
parent ec9fcba978
commit 50922a541e
2 changed files with 10 additions and 2 deletions

View File

@ -21,7 +21,7 @@
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useCompilerModule": true, "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false "userConfirmedUseCompilerModuleSwitch": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",

View File

@ -19,3 +19,11 @@ class Article(CommonModel):
def __str__(self): def __str__(self):
return self.title return self.title
class Material(CommonModel):
"""
学习资料
"""
name = models.CharField(max_length=200, verbose_name='标题')
description = models.TextField('描述')