SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 3d257d62 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

add common views like empty response

parent 98f6a31d
No related branches found
No related tags found
1 merge request!58[Fellowship Nominations] Rework the fellowship nomination system and UI
...@@ -93,6 +93,7 @@ urlpatterns = [ ...@@ -93,6 +93,7 @@ urlpatterns = [
path("commentaries/", include("commentaries.urls", namespace="commentaries")), path("commentaries/", include("commentaries.urls", namespace="commentaries")),
path("commentary/", include("commentaries.urls", namespace="_commentaries")), path("commentary/", include("commentaries.urls", namespace="_commentaries")),
path("comments/", include("comments.urls", namespace="comments")), path("comments/", include("comments.urls", namespace="comments")),
path("common/", include("common.urls", namespace="common")),
path("edadmin/", include("edadmin.urls", namespace="edadmin")), path("edadmin/", include("edadmin.urls", namespace="edadmin")),
path("ethics/", include("ethics.urls", namespace="ethics")), path("ethics/", include("ethics.urls", namespace="ethics")),
path("forums/", include("forums.urls", namespace="forums")), path("forums/", include("forums.urls", namespace="forums")),
......
__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",
)
]
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
from django.http import HttpResponse
def empty(request):
return HttpResponse("")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment