define('WP_POST_REVISIONS', false );
DELETE FROM wp_posts WHERE post_type = "revision";
slug = models.SlugFiled(unique=True)
url(r'^(?P<slug>[-a-zA-Z0-9_]+)$', 'article_detail', name='article_detail'),
def article_detail(request, slug):
article = get_object_or_404(Article, slug=slug)
...