Re: How to use inspectdb to generate a model for a table owned by a specific schema.

2021-09-09 Thread Hello Singh
I am intermediate django developer, I want to give a try to your questions. Simply use this command *python manage.py inspectdb [ TABLE_NAME ]* *If you use this command without table name it inspect all tables of database* On Thu, 9 Sep 2021, 19:39 Nemani Srinivas Murthy, wrote: > Hi, I'm

Daphne ASGI Django Long running requests cause upstream connection refused NGINX

2021-09-09 Thread Bernsy
I have a Django 3.2.4 application which I am running on Kubernetes, fronted by NGINX, served via ASGI / daphne. I have a long running API call (no longer than 30 seconds) that when running, seems to cause other requests to be refused. In the NGINX logs I see connect() failed (111:

Re: How to use inspectdb to generate a model for a table owned by a specific schema.

2021-09-09 Thread carlos
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 wrote: > Hi, I'm looking for a solution for generating the model.py file for a > table which is owned by a specific schema .,

How to use inspectdb to generate a model for a table owned by a specific schema.

2021-09-09 Thread Nemani Srinivas Murthy
Hi, I'm looking for a solution for generating the model.py file for a table which is owned by a specific schema ., I tried the below option but no luck. *python manage.py inspectdb --database= * -- You received this message because you are subscribed to the Google Groups "Django users"