a little
This commit is contained in:
parent
ec9fcba978
commit
50922a541e
|
@ -21,7 +21,7 @@
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"useCompilerModule": true,
|
"useCompilerModule": false,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false
|
"userConfirmedUseCompilerModuleSwitch": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
|
|
|
@ -18,4 +18,12 @@ class Article(CommonModel):
|
||||||
verbose_name_plural = verbose_name
|
verbose_name_plural = verbose_name
|
||||||
|
|
||||||
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('描述')
|
Loading…
Reference in New Issue