Archive for category python

Cron a Django Program

One of the issue I faced while developing a website in Django was I always had a script which collects or data which is to be in the cron. But Django usually needs a lot of configurations and settings for the environment to run. So after some searches I got that django has an undocumented API of settings which we would use of the same. So here is a file which you could include for any file you would like to run as cron and this file would do the rest.

Continue reading “Cron a Django Program” »


, , , ,

No Comments

Installing Django on Dreamhost

Installing Django in Dreamhost and getting it to run wasn’t straight forward at-least to me. There was lot of issues such as python bin directory not accessible as its shared and so.

Continue reading “Installing Django on Dreamhost” »


, , , , , , , ,

1 Comment