[Django]-Upgrade 1.7.4 to django 1.8 south.db.mysql error, not using South

9👍

I thought to leave my question as is, and show the answer I found here:

pip uninstall South

not sure why having the package south throws this kind of error as my project doesn’t use it! but it appears to have solved my problem.

1👍

You can get this error if your project has dependencies whose South migrations still live in the “migrations” folder, rather than the “south_migrations” folder

0👍

In modules.py just change:

class Session(models.Model):
    ...
    ip = models.IPAddressField(blank=True)

to

ip = models.GenericIPAddressField(blank=True, null=False)

Leave a comment