def section_archive(request, slug=None, page=1):
    """
    Shows a paginated list of articles for a given section.
    """
    site = Site.objects.get_current()
    try:
        section = Section.objects.filter(publication__site=site).get(slug=slug)
    except Section.DoesNotExist:
        raise Http404
    
    archive_name = section.name

    try:
        page = int(page)
    except ValueError:
        raise Http404
     
    articles = Article.get_published.filter(section=section)
    paginator = Paginator(articles, 20)

    try:
        archive_page = paginator.page(page)
    except (EmptyPage, InvalidPage):
        raise Http404
    
    next_page_url = '/section/%s/archives/%s/' % (slug, page + 1)
    previous_page_url = '/section/%s/archives/%s/' % (slug, 1 - page)
    
    page = {
        'archive_name': archive_name,
        'archive_page': archive_page,
        'next_page_url': next_page_url,
        'previous_page_url': previous_page_url,
        'section': section
    }
        
    return render_to_response('publishing/section_archive.html', page, RequestContext(request))
dataset/ETHPy150Open albatrossandco/brubeck_cms/brubeck/publishing/views.py/section_archive/swapped operands of `-`