fix bug that prevent the admin page to display when syncdb is executed. there is no request in this case