Skip to content
Snippets Groups Projects
Verified Commit 0a8a214f authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[WIP] Add Vue.js dummy page for tests

parent fff50e78
No related branches found
No related tags found
1 merge request!1045Introduce Vuetify and GraphQL
{% extends 'core/vue_base.html' %}
{% load i18n static dashboard %}
{% block browser_title %}{% blocktrans %}Dummy page{% endblocktrans %}{% endblock %}
{% block page_title %}{% blocktrans %}Dummy page{% endblocktrans %}{% endblock %}
{% block content %}
<p>Nothing here</p>
{% endblock %}
......@@ -23,6 +23,7 @@ urlpatterns = [
path(settings.MEDIA_URL.removeprefix("/"), include("titofisto.urls")),
path("manifest.json", views.ManifestView.as_view(), name="manifest"),
path("serviceworker.js", views.ServiceWorkerView.as_view(), name="service_worker"),
path("vue_dummy/", views.vue_dummy, name="vue_dummy"),
path("offline/", views.OfflineView.as_view(), name="offline"),
path("about/", views.about, name="about_aleksis"),
path("accounts/signup/", views.AccountRegisterView.as_view(), name="account_signup"),
......
......@@ -535,6 +535,9 @@ class TestPDFGenerationView(PermissionRequiredMixin, RenderPDFView):
template_name = "core/pages/test_pdf.html"
permission_required = "core.test_pdf_rule"
def vue_dummy(request: HttpRequest) -> HttpResponse:
# FIXME remove together with URL route and template
return render(request, "core/vue_dummy.html", {})
@permission_required(
"core.mark_notification_as_read_rule", fn=objectgetter_optional(Notification, None, False)
......
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