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
- [Django]-Sending a DELETE request to django-rest with angular is interpreted as OPTIONS
- [Django]-How do you decide on creating a new model vs a field in django?
- [Django]-Embed an external link in django app
- [Django]-Couldn't import Django error when I try to startapp
0👍
In modules.py
just change:
class Session(models.Model):
...
ip = models.IPAddressField(blank=True)
to
ip = models.GenericIPAddressField(blank=True, null=False)
- [Django]-Should I use Django's contrib applications or build my own?
- [Django]-Django-storages S3Boto3Storage makes HEAD and GET requests on read
Source:stackexchange.com