diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/backends/base/operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py index acca12708a..5d3cddff9d 100644 --- a/django/db/backends/base/operations.py +++ b/django/db/backends/base/operations.py @@ -497,7 +497,7 @@ class BaseDatabaseOperations(object): Transforms a string representation of an IP address into the expected type for the backend driver. """ - return value + return value or None def year_lookup_bounds_for_date_field(self, value): """ |
