python_2_unicode_compatible error

后端 未结 6 796
走了就别回头了
走了就别回头了 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条回答
  •  心在旅途
    2020-12-06 11:01

    It's actually also present in the 1.4 series since 1.4.2. You should really be using the latest 1.4.X release (1.4.10 as of the time of this writing) as earlier versions have known security vulnerabilities.

提交回复
热议问题