ListField, JSONField and DictField

163 views
Skip to first unread message

Lekan Wahab

unread,
Nov 3, 2016, 3:21:52 PM11/3/16
to django...@googlegroups.com

Hi guys,
This question just came to me this evening and I've really been thinking about it.

Can someone explain to me why Django doesn't have ListField, JSONField or DictField by default in its model Fields?

I mean,  these are obviously things that would ease a lot of work so why aren't they available yet?

Lekan.
Python is the "most powerful language you can still read".

Matthew Pava

unread,
Nov 3, 2016, 3:30:47 PM11/3/16
to django...@googlegroups.com

I do see them available as Postgres fields because Postgres supports them natively.  I assume that they aren’t by default in model Fields because other databases may not support them natively.

 

https://docs.djangoproject.com/en/1.10/ref/contrib/postgres/fields/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE6v7od4Au4friMr-bqp02JeL_R4jXVBJn3zFh6bc-eds-GtWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages