title: Call function in views.py from command line (django)
body: <p>I'm trying to run a function defined in the views file of my django app, from the command line. Is there a way to do this?</p>
  
  <p>I understand view functions are supposed to be called from a request but I need this function to be called from a cron eventually.</p>
  
  <p>Thanks</p>