make posting work
This commit is contained in:
parent
801272ae7d
commit
2ae4f2268b
@ -35,7 +35,8 @@ class Postable:
|
|||||||
handle moderation parameters
|
handle moderation parameters
|
||||||
"""
|
"""
|
||||||
if 'modactions' in request.POST:
|
if 'modactions' in request.POST:
|
||||||
actions = request.POST['modactions'] + '\n'
|
actions = request.POST['modactions']
|
||||||
|
if len(actions) > 0:
|
||||||
body = ''
|
body = ''
|
||||||
for line in actions.split('\n'):
|
for line in actions.split('\n'):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
Reference in New Issue
Block a user