getting the version of django code example Example: check django version windows >>> import django >>> django.VERSION (2, 0, 0, 'final', 0)