Support for migrations in django 1.7

Hello @jezdez!! 
I did an small change in order to support the new migration system in django 1.7. I hope its possible to merge it, let me know if you need another change before merging it. 
gracias!!