The course factory depends upon django and doesn't handle draft v published.