How to map PostgreSQL array field in Django ORM

后端 未结 6 944
天命终不由人
天命终不由人 2020-12-10 12:33

I have an array field in my PostrgreSQL database of type text. Is there a way to map this into a Django model ?

6条回答
  •  感动是毒
    2020-12-10 13:15

    One of the other nice options is http://django-orm.readthedocs.org/ --- a library that adds bindings to many native postgres types.

    Main drawback of django-orm is that as of today it has no working support for south.

提交回复
热议问题