Accounting for modules deprecated in Django 1.6

Import statement is backwards compatible with Django 1.4 and older.