Skip to content

Commit 9a74ba3

Browse files
committed
Improved field descriptions for Django [skip ci]
1 parent 91900d6 commit 9a74ba3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pgvector/django/halfvec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# https://docs.djangoproject.com/en/4.2/howto/custom-model-fields/
66
class HalfvecField(Field):
7-
description = 'Halfvec'
7+
description = 'Half vector'
88
empty_strings_allowed = False
99

1010
def __init__(self, *args, dimensions=None, **kwargs):

pgvector/django/sparsevec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# https://docs.djangoproject.com/en/4.2/howto/custom-model-fields/
66
class SparsevecField(Field):
7-
description = 'Sparsevec'
7+
description = 'Sparse vector'
88
empty_strings_allowed = False
99

1010
def __init__(self, *args, dimensions=None, **kwargs):

0 commit comments

Comments
 (0)