models.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:dart 作者: lmco 项目源码 文件源码
def get_default_text(file_name):
        TEMPALTE_DIR = os.path.join(settings.BASE_DIR, 'templates')
        with open(os.path.join(TEMPALTE_DIR, file_name), 'r') as template:
            output = join_as_compacted_paragraphs(template.readlines())
            return output

    # Model Fields
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号