From 152f2668848288ad03d601b8fb2509198cceb500 Mon Sep 17 00:00:00 2001 From: crossdark Date: Fri, 20 Sep 2024 20:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BF=BD=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ .../migrations/0002_articleinfo_rendered.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 SinkDark/article/migrations/0002_articleinfo_rendered.py diff --git a/.gitignore b/.gitignore index 5d381cc..6df2740 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,7 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +# 项目 +SinkDark/static/ +SinkDark/*/migrations + diff --git a/SinkDark/article/migrations/0002_articleinfo_rendered.py b/SinkDark/article/migrations/0002_articleinfo_rendered.py new file mode 100644 index 0000000..dd054c0 --- /dev/null +++ b/SinkDark/article/migrations/0002_articleinfo_rendered.py @@ -0,0 +1,19 @@ +# Generated by Django 5.1.1 on 2024-09-20 12:22 + +import ckeditor_uploader.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('article', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='articleinfo', + name='rendered', + field=ckeditor_uploader.fields.RichTextUploadingField(default='

默认内容

', verbose_name='最终内容'), + ), + ]