Fixed Django issue