How to use 'django version' in Python

Every line of 'django version' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
241def get_version(self):
242 """
243 Return the Django version, which should be correct for all built-in
244 Django commands. User-supplied commands can override this method to
245 return their own version.
246 """
247 return django.get_version()

Related snippets