I am using south and django on a new site with a postgres database. I am attempting to do the initial migration but get the following error
django.db.utils.DatabaseError: invalid input syntax for integer: ""
when this line is called
('views', self.gf('django.db.models.fields.IntegerField')(default=0)),
which translates to this in the model
views = models.IntegerField(default=0)
This all works fine with sqllite locally, anyone know why this is happening?