mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25579 -- Fixed ArrayField.get_db_prep_value() to allow complex types.
This commit is contained in:
@@ -31,9 +31,6 @@ class TagField(models.SmallIntegerField):
|
||||
def get_prep_value(self, value):
|
||||
return value.tag_id
|
||||
|
||||
def get_db_prep_value(self, value, connection, prepared=False):
|
||||
return self.get_prep_value(value)
|
||||
|
||||
|
||||
class PostgreSQLModel(models.Model):
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user