check if django is installed mac code example Example: check django version windows >>> import django >>> django.VERSION (2, 0, 0, 'final', 0)