Django 1.7 compatibility: removed module level import of User in models