Skip to content

Commit 7385f67

Browse files
違反報告系の定数を追加
1 parent f777343 commit 7385f67

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/common/settings.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
'xml', 'year'
137137
]
138138

139-
140139
LIKED_RETRY_COUNT = 3
141140

142141
ARTICLE_IMAGE_MAX_WIDTH = 3840
@@ -150,3 +149,16 @@
150149

151150
LIKE_NOTIFICATION_TYPE = 'like'
152151
COMMENT_NOTIFICATION_TYPE = 'comment'
152+
153+
FRAUD_REASONS = [
154+
'violence',
155+
'spam',
156+
'plagiarism',
157+
'slander',
158+
'illegal',
159+
'other'
160+
]
161+
162+
FRAUD_NEED_ORIGINAL_REASONS = ['plagiarism']
163+
164+
FRAUD_NEED_DETAIL_REASONS = ['illegal', 'other']

0 commit comments

Comments
 (0)