Skip to content

Commit

Permalink
Merge pull request #123 from nc2U/develop
Browse files Browse the repository at this point in the history
admin post content editor update
  • Loading branch information
nc2U committed Sep 18, 2023
2 parents 517b5d4 + 52a2916 commit 55e51fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions app/django/document/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from datetime import datetime, timedelta
from django.conf import settings
from tinymce.models import HTMLField
from django_quill.fields import QuillField


class Group(models.Model):
Expand Down Expand Up @@ -318,8 +317,7 @@ class Post(models.Model):
lawsuit = models.ForeignKey(LawsuitCase, on_delete=models.SET_NULL, null=True, blank=True, verbose_name='사건번호')
title = models.CharField('제목', max_length=255)
execution_date = models.DateField('문서 시행일자', null=True, blank=True, help_text='문서 발신/수신/시행일자')
# content = HTMLField('내용', blank=True)
content = QuillField('내용', blank=True)
content = HTMLField('내용', blank=True)
is_hide_comment = models.BooleanField('댓글숨기기', default=False)
hit = models.PositiveIntegerField('조회수', default=0)
blame = models.PositiveSmallIntegerField('신고', default=0)
Expand Down
1 change: 0 additions & 1 deletion deploy/docker/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ django-markdown2==0.3.1
Pillow==10.0.0
django-mdeditor==0.1.20
django-tinymce==3.6.1
django-quill-editor==0.1.40
django-import-export==3.2.0
django-admin-rangefilter==0.8.8
boto3==1.26.165
Expand Down

0 comments on commit 55e51fe

Please sign in to comment.