from collections import namedtuple

CONTENT_TYPES = [
    ("core.ArticlePage", "Article"),
    ("core.SectionPage", "Section"),
]

ENDPOINTS = [
    ("page", "api/v1/pages")
]

SESSION_VARS = namedtuple(
    "SESSION_VARS",
    ["first", "second", ]
)

ARTICLE_SESSION_VARS = SESSION_VARS(
    first=("url", "content_type"),
    second="parent_page_id"
)

API_PAGES_ENDPOINT = "/api/v2/pages/"
API_IMAGES_ENDPOINT = "/api/v2/images/"

from collections import namedtuple

CONTENT_TYPES = [
    ("core.ArticlePage", "Article"),
    ("core.SectionPage", "Section"),
]

ENDPOINTS = [
    ("page", "api/v1/pages")
]

SESSION_VARS = namedtuple(
    "SESSION_VARS",
    ["first", "second", ]
)

ARTICLE_SESSION_VARS = SESSION_VARS(
    first=("url", "article_content_type"),
    second="article_parent_page_id"
)

API_PAGES_ENDPOINT = "/api/v2/pages/"
API_IMAGES_ENDPOINT = "/api/v2/images/"

Change article session variable names
Change article session variable names
