[1.7.x] Removed code deprecated from Django 1.2
[1.7.x] Removed code deprecated from Django 1.2

Backport of 2779c299c8 from master.

jyotsna1820/django,oscaro/django,oscaro/django,jyotsna1820/django,jyotsna1820/django,oscaro/django,oscaro/django,jyotsna1820/django