The Django 1.5 supports the Python 2.6.5 version and later versions. If you're under Linux and want to check the Python version you're using, run python -V from the command line. If you want to check the Django version, open a Python console and type:-
>>> import django
>>> django.VERSION
(2, 0, 0, 'final', 0)