fixes in django db models