mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
621 B
19 lines
621 B
from django.urls import include, path, re_path
|
|
|
|
from sapl.lexml.views import (LexmlProvedorCrud, LexmlPublicadorCrud,
|
|
lexml_request, request_search)
|
|
|
|
from .apps import AppConfig
|
|
|
|
app_name = AppConfig.name
|
|
|
|
urlpatterns = [
|
|
path("sistema/lexml/provedor/", include(LexmlProvedorCrud.get_urls())),
|
|
path("sistema/lexml/publicador/", include(LexmlPublicadorCrud.get_urls())),
|
|
re_path(
|
|
r"^sistema/lexml/request_search/(?P<keyword>[\w\-]+)/",
|
|
request_search,
|
|
name="lexml_search",
|
|
),
|
|
re_path(r"^sistema/lexml/oai", lexml_request, name="lexml_endpoint"),
|
|
]
|
|
|