NameError: name 'logging' is not defined

logger = logging.getLogger(__name__)
NameError: name 'logging' is not defined


this error is occurs due to you are not import loggin



>>>import logging

Comments

  1. Waiting for your next post.You can visit our site to get awesome :
    จีคลับ

    ReplyDelete

Post a Comment

Popular posts from this blog

AttributeError: Got AttributeError when attempting to get a value for field `abc` on serializer `PfleSerializer`. The serializer field might be named incorrectly and not match any attribute or key on the `QuerySet` instance. Original exception text was: 'QuerySet' object has no attribute 'abc'.

ImportError: No module named regex