python - Call function in views.py from command line (django) -


I'm trying to run the function defined in the command file of my app store, from the command line. Is there any way to do this?

I understand that the function should be called by request, but eventually this function called by a cron is required.

Thanks

You can use.


Comments