Updated to support Django 1.6, although only temporary through methods to be depricated.