fix for bug involving BeautifulSoup, Djang, and apache