You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from django.contrib.postgres.fields import ArrayField
from django.db.models import Model
from phonenumber_field.modelfields import PhoneNumberField
class Foo(Model):
contact = PhoneNumberField()
contacts = ArrayField(PhoneNumberField(), default=list)
Provided we have the model:
Then run the following:
Accessing the variables, one could expect the following:
However,
foo.contacts
returns a list of strings:The text was updated successfully, but these errors were encountered: