Fix an attribute error when using Django 1.7
Fix an attribute error when using Django 1.7

grzes/djangae,kirberich/djangae,potatolondon/djangae,nealedj/djangae,leekchan/djangae,chargrizzle/djangae,nealedj/djangae,trik/djangae,SiPiggles/djangae,asendecka/djangae,jscissr/djangae,kirberich/djangae,wangjun/djangae,trik/djangae,kirberich/djangae,asendecka/djangae,martinogden/djangae,grzes/djangae,martinogden/djangae,martinogden/djangae,stucox/djangae,grzes/djangae,jscissr/djangae,SiPiggles/djangae,pablorecio/djangae,chargrizzle/djangae,wangjun/djangae,stucox/djangae,pablorecio/djangae,wangjun/djangae,stucox/djangae,armirusco/djangae,jscissr/djangae,leekchan/djangae,trik/djangae,armirusco/djangae,nealedj/djangae,pablorecio/djangae,potatolondon/djangae,SiPiggles/djangae,chargrizzle/djangae,asendecka/djangae,armirusco/djangae,leekchan/djangae