Nomura Nori
Nomura Nori

Reputation: 5167

Get Django version from source project

How are you friends. I have got one django source project and I would like to know what the version of this project is. How to get django framework version from source project? Cheers!

Upvotes: 0

Views: 790

Answers (1)

Neeraj Kumar
Neeraj Kumar

Reputation: 3941

If you found any commented URL related django documentation in any django default file 'urls.py, settings.py, wsgi.py' that will show django version like I have wsgi.py of demo project that have comments

"""
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/
"""

Here 1.9 showing django version that was used to build this project.

This is the last option you can find django project version if not mention in django project requirements.txt file

Upvotes: 4

Related Questions