How do you check for the version of Django installed on your system?

Last updated 3 weeks, 1 day ago | 24 views 75     5

Tags:- Django

Django | Check Version 

To check for the version of Django installed on your system, you can open the command prompt and enter the following command:

python -m django –version


You can also try to import Django and use the get_version() method as follows:

import django

print(django.get_version())