I think you are better off creating a proper API for your Django project, using something like DRF.
-- The Django shell is meant for direct use by an administrator working on the server.
On Sunday, 26 April 2020 16:05:02 UTC+2, Michael Karikari wrote:
On Sunday, 26 April 2020 16:05:02 UTC+2, Michael Karikari wrote:
So I find myself in a pickle.I'm using an external python API with Django, and as part of that interaction, it asks for an input from the Django python shell window. What I am trying to figure out is how can I get form input from web application to push back to the shell window. Appreciate it if anyone has experience on how to do this or work around this.Attached is a screenshot of what I'm looking at. Im hoping there is a clean way of pass form data to this type of interaction
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/92eba248-324a-4afe-80b9-ec2aca5ed798%40googlegroups.com.
No comments:
Post a Comment