从源项目获取 Django 版本
Get Django version from source project
朋友你好吗。
我有一个django源码项目,我想知道这个项目的版本是多少。
如何从源项目中获取 Django 框架版本?
干杯!
如果您在任何 django 默认文件 'urls.py, settings.py, wsgi.py' 中发现任何评论 URL 相关的 django 文档,它将显示 django 版本,就像我有 wsgi.py 有评论的演示项目
"""
WSGI config for demo project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
此处 1.9 显示用于构建此项目的 django 版本。
如果在 django 项目 requirements.txt 文件
中没有提及,这是最后一个可以找到 django 项目版本的选项
朋友你好吗。 我有一个django源码项目,我想知道这个项目的版本是多少。 如何从源项目中获取 Django 框架版本? 干杯!
如果您在任何 django 默认文件 'urls.py, settings.py, wsgi.py' 中发现任何评论 URL 相关的 django 文档,它将显示 django 版本,就像我有 wsgi.py 有评论的演示项目
"""
WSGI config for demo project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
此处 1.9 显示用于构建此项目的 django 版本。
如果在 django 项目 requirements.txt 文件
中没有提及,这是最后一个可以找到 django 项目版本的选项