edit django file for nginx