Django website and generator script work together