在进入admin的时候出现’set’ object is not reversible错误
发生版本:
python3.6
django 1.11
解决方案是在你的urls.py 中
把{ } 改为[]
原因不详
在进入admin的时候出现’set’ object is not reversible错误
发生版本:
python3.6
django 1.11
解决方案是在你的urls.py 中
把{ } 改为[]
原因不详
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta