Post user input to django python shell??

33 views
Skip to first unread message

Michael Karikari

unread,
Apr 26, 2020, 10:05:02 AM4/26/20
to Django users
Looking for some clarity to issue I'm having.

I have external python API I'm hitting via a view, but it requires an interactive input that appears in the Django shell prompt. I'm wondering how I can have end-user send posts to that input request.

See screenshot 
django.PNG

Divash Singh

unread,
Apr 26, 2020, 12:18:39 PM4/26/20
to django...@googlegroups.com

Hi,

 

Did you solve your issue yet?

 

Sent from Mail for Windows 10

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aa67de88-59bf-4430-a062-59525478484e%40googlegroups.com.

 

Michael Karikari

unread,
Apr 29, 2020, 6:30:37 AM4/29/20
to Django users
No not yet,

Im still trying to figure out if there is a way for the request for input from the console can be surfaced to end-user. I executed the command from a view, but since this module thinks it's being used from a shell, that where it asks for the response

On Sunday, April 26, 2020 at 12:18:39 PM UTC-4, Divash Singh wrote:

Hi,

 

Did you solve your issue yet?

 

Sent from Mail for Windows 10

 

From: Michael Karikari
Sent: Sunday, 26 April 2020 16:05
To: Django users
Subject: Post user input to django python shell??

 

Looking for some clarity to issue I'm having.

 

I have external python API I'm hitting via a view, but it requires an interactive input that appears in the Django shell prompt. I'm wondering how I can have end-user send posts to that input request.

 

See screenshot 

--
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...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages