查看Django版本

code

>>> import django
>>> django.version
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'django' has no attribute 'version'
>>> django.VERSION
(2, 2, 5, 'final', 0)

 

 

 

 

 

 

posted @ 2020-08-23 11:11  anobscureretreat  阅读(212)  评论(0编辑  收藏  举报