Hi,

I'm new to Django, and I'm struggling to get inspectdb to populate postgres 
models as json, hstore, or array objects. I have put 
`django.contrib.postgres` under the INSTALLED_APPS and I have psycopg2 
installed. I have set my engine to be postgresql and am able to use the 
makemigration and migrate CLI.

Do I need to do anything extra to get this working? I know inspectdb may 
not work because it is guessing, but it seems like this is a solved issue 
in terms of json, hstore, and array for postgres as many people have asked 
about this issue years past. I am using version 4.1.7 of django.

I'm trying to make an automated script for creating the migration with 
inspectdb -> makemigration -> migrate, but there is no easy way for 
detecting what type the inspectdb guessed as TextField.

Thanks!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7c1651d6-3071-4de1-9d3a-63e5c6c3f2fan%40googlegroups.com.

Reply via email to