Wednesday, April 29, 2020

Re: Post user input to django python shell??

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

 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1566b67f-54cd-4d08-bd98-73ebaad40404%40googlegroups.com.

No comments:

Post a Comment