Upgraded to Django 2.1

This commit is contained in:
Jeremy Stretch
2018-11-02 14:42:15 -04:00
parent b05171b126
commit 0a71c63583
22 changed files with 22 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ class BaseIPField(models.Field):
def python_type(self):
return IPNetwork
def from_db_value(self, value, expression, connection, context):
def from_db_value(self, value, expression, connection):
return self.to_python(value)
def to_python(self, value):