Hi, read this maybe help you!

https://stackoverflow.com/questions/21986917/running-inspectdb-on-a-specific-schema

On Thu, Sep 9, 2021 at 8:09 AM Nemani Srinivas Murthy <mr.nem...@gmail.com>
wrote:

> Hi, I'm looking for a solution for generating the model.py file for a
> table which is owned by a specific schema <schema>.<table>, I tried the
> below option but no luck.
>
> *python manage.py inspectdb --database= <DB_NAME> <SCHEMA.TABLE_NAME>*
>
>
> --
> 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/bc685fe7-93c8-4e35-b0d5-33bfe549169an%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bc685fe7-93c8-4e35-b0d5-33bfe549169an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
att.
Carlos Rocha

-- 
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/CAM-7rO28qnfMXE%3DfwBcVgq61G7mWMt_gH_zbHXGmSDuKA75PBg%40mail.gmail.com.

Reply via email to