To do work of mage.py in django without using it

  amazon-kcl, django, docker, python

I am making a project using amazon_kclpy in docker, i am directly running a file through docker command CMD $(amazon_kclpy_helper.py –print_command –java /usr/bin/java –properties ./code/apps/events_consumer/main.properties), in main.properties folder there is a comand to run base.py file, now i want to save data in redis, i am doing everything right, i checked it through python manage.py shell, it runs perfectly, but when i am trying by directly running, it is not saving data,

also without python manage.py shell i tried to save data using only interpreter python commnd and it is also not able to save data, i want to know is there any way to do the work of manage.py file without running it.

or any other method to make it work.

Source: Docker Questions

LEAVE A COMMENT