diff --git a/scipost_django/SciPost_v1/urls.py b/scipost_django/SciPost_v1/urls.py index 098312d1ae5c0dfd131355ba868fae1c93483c34..4a9672067d7f59c6549156d239555052594c8ce5 100644 --- a/scipost_django/SciPost_v1/urls.py +++ b/scipost_django/SciPost_v1/urls.py @@ -93,6 +93,7 @@ urlpatterns = [ path("commentaries/", include("commentaries.urls", namespace="commentaries")), path("commentary/", include("commentaries.urls", namespace="_commentaries")), path("comments/", include("comments.urls", namespace="comments")), + path("common/", include("common.urls", namespace="common")), path("edadmin/", include("edadmin.urls", namespace="edadmin")), path("ethics/", include("ethics.urls", namespace="ethics")), path("forums/", include("forums.urls", namespace="forums")), diff --git a/scipost_django/common/urls.py b/scipost_django/common/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..62d8ae697bfac4596f6bd845824e3c664b30e5c9 --- /dev/null +++ b/scipost_django/common/urls.py @@ -0,0 +1,17 @@ +__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" +__license__ = "AGPL v3" + + +from django.urls import path + +from . import views + +app_name = "common" + +urlpatterns = [ + path( + "empty", + views.empty, + name="empty", + ) +] diff --git a/scipost_django/common/views.py b/scipost_django/common/views.py new file mode 100644 index 0000000000000000000000000000000000000000..006780c0cef27c3a698ec9292262332e99b601fa --- /dev/null +++ b/scipost_django/common/views.py @@ -0,0 +1,8 @@ +__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" +__license__ = "AGPL v3" + +from django.http import HttpResponse + + +def empty(request): + return HttpResponse("")