修改文章编辑器为mdeditor
This commit is contained in:
parent
6cfd3334d0
commit
6d2f7b5e6e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
├── ReadMe.md // 帮助文档
|
├── ReadMe.md // 帮助文档
|
||||||
|
|
||||||
|
├── media // 文章图片存放地址
|
||||||
|
|
||||||
└── requirements.txt // 项目依赖库列表
|
└── requirements.txt // 项目依赖库列表
|
||||||
|
|
||||||
# 使用说明
|
# 使用说明
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,27 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-20 02:43
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
initial = True
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.CreateModel(
|
|
||||||
name='comment',
|
|
||||||
fields=[
|
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
||||||
('comment_Content', models.TextField(verbose_name='评论内容')),
|
|
||||||
('comment_User', models.CharField(max_length=100, verbose_name='评论者')),
|
|
||||||
('comment_Time', models.DateTimeField(verbose_name='评论时间')),
|
|
||||||
],
|
|
||||||
options={
|
|
||||||
'verbose_name': '评论',
|
|
||||||
'verbose_name_plural': '评论管理',
|
|
||||||
},
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,18 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-20 03:01
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('comment', '0001_initial'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='comment',
|
|
||||||
name='archives_Id',
|
|
||||||
field=models.IntegerField(default=0, verbose_name='文章idßß'),
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,23 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-20 04:53
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('comment', '0002_comment_archives_id'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='comment',
|
|
||||||
name='qq',
|
|
||||||
field=models.IntegerField(default=1000, verbose_name='评论者qq号'),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='comment',
|
|
||||||
name='archives_Id',
|
|
||||||
field=models.IntegerField(default=0, verbose_name='文章id'),
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,17 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 03:17
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('comment', '0003_comment_qq_alter_comment_archives_id'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterModelTable(
|
|
||||||
name='comment',
|
|
||||||
table='Comment',
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,33 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 03:21
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('comment', '0004_alter_comment_table'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RenameField(
|
|
||||||
model_name='comment',
|
|
||||||
old_name='archives_Id',
|
|
||||||
new_name='archives_id',
|
|
||||||
),
|
|
||||||
migrations.RenameField(
|
|
||||||
model_name='comment',
|
|
||||||
old_name='comment_Content',
|
|
||||||
new_name='comment_content',
|
|
||||||
),
|
|
||||||
migrations.RenameField(
|
|
||||||
model_name='comment',
|
|
||||||
old_name='comment_Time',
|
|
||||||
new_name='comment_time',
|
|
||||||
),
|
|
||||||
migrations.RenameField(
|
|
||||||
model_name='comment',
|
|
||||||
old_name='comment_User',
|
|
||||||
new_name='comment_user',
|
|
||||||
),
|
|
||||||
]
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,29 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 03:17
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
initial = True
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.CreateModel(
|
|
||||||
name='SiteConfig',
|
|
||||||
fields=[
|
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
||||||
('site_name', models.CharField(max_length=255, verbose_name='网站名称')),
|
|
||||||
('site_author_name', models.CharField(max_length=255, verbose_name='站长昵称')),
|
|
||||||
('site_describe', models.CharField(max_length=255, verbose_name='站点描述')),
|
|
||||||
('site_keyword', models.CharField(max_length=255, verbose_name='站点关键字')),
|
|
||||||
],
|
|
||||||
options={
|
|
||||||
'verbose_name': '设置',
|
|
||||||
'verbose_name_plural': '站点设置',
|
|
||||||
'db_table': 'SiteConfig',
|
|
||||||
},
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,18 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 14:42
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('siteconfig', '0001_initial'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='siteconfig',
|
|
||||||
name='site_author_qq',
|
|
||||||
field=models.CharField(default=0, max_length=255, verbose_name='站点qq'),
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,23 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 15:15
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('siteconfig', '0002_siteconfig_site_author_qq'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='siteconfig',
|
|
||||||
name='site_author_email',
|
|
||||||
field=models.CharField(default=0, max_length=255, verbose_name='站点长邮箱'),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='siteconfig',
|
|
||||||
name='site_author_qq',
|
|
||||||
field=models.CharField(default=0, max_length=255, verbose_name='站长qq'),
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,26 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 15:32
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('siteconfig', '0003_siteconfig_site_author_email_and_more'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.CreateModel(
|
|
||||||
name='FriendshipLink',
|
|
||||||
fields=[
|
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
||||||
('friendship_site_link', models.CharField(max_length=255, verbose_name='友链地址')),
|
|
||||||
('friendship_site_name', models.CharField(max_length=255, verbose_name='友链名称')),
|
|
||||||
],
|
|
||||||
options={
|
|
||||||
'verbose_name': '设置',
|
|
||||||
'verbose_name_plural': '友链管理',
|
|
||||||
'db_table': 'FriendshipLink',
|
|
||||||
},
|
|
||||||
),
|
|
||||||
]
|
|
@ -1,18 +0,0 @@
|
|||||||
# Generated by Django 4.2.23 on 2025-06-23 15:47
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('siteconfig', '0004_friendshiplink'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='siteconfig',
|
|
||||||
name='icp',
|
|
||||||
field=models.CharField(default='', max_length=255, verbose_name='ICP备案号'),
|
|
||||||
),
|
|
||||||
]
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user