fix bug in django mysite