Mercurial > public > sg101
comparison gpp/news/views.py @ 9:b3b11edf91d8
News: removed the lxml stuff. Based on Jacob Kaplan-Moss suggestion, use html5lib to clean html. Added that functionality in a new core.html module.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 02:03:03 +0000 |
parents | dbd703f7d63a |
children | 62eb9cbbcffc |
comparison
equal
deleted
inserted
replaced
8:d6f3c38e8f50 | 9:b3b11edf91d8 |
---|---|
16 from django.http import Http404 | 16 from django.http import Http404 |
17 | 17 |
18 from tagging.models import Tag | 18 from tagging.models import Tag |
19 from tagging.models import TaggedItem | 19 from tagging.models import TaggedItem |
20 | 20 |
21 from core.functions import clean_html | 21 from core.html import clean_html |
22 from core.functions import send_mail | 22 from core.functions import send_mail |
23 from core.functions import get_full_name | 23 from core.functions import get_full_name |
24 from core.paginator import DiggPaginator | 24 from core.paginator import DiggPaginator |
25 from news.models import Category | 25 from news.models import Category |
26 from news.models import PendingStory | 26 from news.models import PendingStory |