remove logger
This commit is contained in:
parent
0db89c116d
commit
d67f41f32b
|
|
@ -1,5 +1,4 @@
|
|||
import json
|
||||
import logging
|
||||
|
||||
import graphene
|
||||
from django.core.exceptions import ValidationError
|
||||
|
|
@ -12,8 +11,6 @@ from books.schema.inputs import ContentBlockInput
|
|||
from books.schema.queries import ContentBlockNode
|
||||
from .utils import handle_content_block, set_user_defined_block_type
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MutateContentBlock(relay.ClientIDMutation):
|
||||
class Input:
|
||||
|
|
@ -35,7 +32,7 @@ class MutateContentBlock(relay.ClientIDMutation):
|
|||
block_type = content_block_data.get('type', ContentBlock.NORMAL)
|
||||
|
||||
content_block = get_object(ContentBlock, id_param)
|
||||
logger.info(content_block_data)
|
||||
|
||||
if visibility_list is not None:
|
||||
for v in visibility_list:
|
||||
school_class = get_object(SchoolClass, v.school_class_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue