python_2_unicode_compatible error

后端 未结 6 782
走了就别回头了
走了就别回头了 2020-12-06 10:22

I\'ve models.py as follows,

from django.contrib.auth.models import User
from django.db import models
from django.utils.encoding import python_2_         


        
6条回答
  •  -上瘾入骨i
    2020-12-06 10:36

    I faced the same issue when I upgrade the Django version 2.x to 3.0. This issue, I faced due to auditlog library.

    First, execute the below command

    pip uninstall auditlog
    

    then

    pip install auditlog3
    

提交回复
热议问题