Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/api/urls.py
# Copyright (C) 2017-2021 The Software Heritage developers | # Copyright (C) 2017-2021 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
"""SWH's deposit api URL Configuration | """SWH's deposit api URL Configuration | ||||
""" | """ | ||||
from django.conf.urls import url | from django.conf.urls import url | ||||
from django.shortcuts import render | from django.shortcuts import render | ||||
from ..config import COL_IRI, CONT_FILE_IRI, EDIT_IRI, EM_IRI, SD_IRI, SE_IRI, STATE_IRI | from ..constants import ( | ||||
COL_IRI, | |||||
CONT_FILE_IRI, | |||||
EDIT_IRI, | |||||
EM_IRI, | |||||
SD_IRI, | |||||
SE_IRI, | |||||
STATE_IRI, | |||||
) | |||||
from .collection import CollectionAPI | from .collection import CollectionAPI | ||||
from .content import ContentAPI | from .content import ContentAPI | ||||
from .edit import EditAPI | from .edit import EditAPI | ||||
from .edit_media import EditMediaAPI | from .edit_media import EditMediaAPI | ||||
from .service_document import ServiceDocumentAPI | from .service_document import ServiceDocumentAPI | ||||
from .state import StateAPI | from .state import StateAPI | ||||
from .sword_edit import SwordEditAPI | from .sword_edit import SwordEditAPI | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |