Skip to content
Snippets Groups Projects
Commit 205325a0 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Finish merge

parent da21a276
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -30,5 +30,5 @@ urlpatterns += [
path("tools", tools_views.tools, name="tools"),
path("tools/clear-cache", tools_views.tools_clear_cache, name="tools_clear_cache"),
path("tools/clear-cache/<str:id>", tools_views.tools_clear_cache, name="tools_clear_single_cache"),
path('about/', views.about, name='about')
path('about/', tools_views.about, name='about')
]
def about(request):
return render(request, "common/about.html", context={"components": OPEN_SOURCE_COMPONENTS})
......@@ -4,12 +4,17 @@ from django.shortcuts import render, redirect
from django.urls import reverse
from dashboard.models import Cache
from meta import OPEN_SOURCE_COMPONENTS
def offline(request):
return render(request, 'common/offline.html')
def about(request):
return render(request, "common/about.html", context={"components": OPEN_SOURCE_COMPONENTS})
@login_required
@user_passes_test(lambda u: u.is_superuser)
def tools(request):
......
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