hovel / pybbm

Django forum solution. Tested, documented, shipped with example project.
BSD 2-Clause "Simplified" License
225 stars 151 forks source link

IPAddressField is removed in Django 1.9 #237

Closed goeranu closed 8 years ago

goeranu commented 8 years ago

I installed pybbm on a Fedora system with Python 3.5 and Django 1.9. It complained about the use of models.IPAddressField in models.py. Digging a little, I found that it had been deprecated in version 1.7 and is unsupported in 1.9.

When django.VERSION >= (1,7), the proper field name seems to be GenericIPAddressField.

goeranu commented 8 years ago

Fixed in commit 1ecb7e023b5dd36b28ccc81e8cf846fef2c1ddb0 in November last year.