Compare commits

..

2 Commits

Author SHA1 Message Date
Luca e1cf597f05 Render base template for index view
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-10-17 01:22:22 +02:00
Luca 70388c7b1b Add error templates 2023-10-17 01:14:43 +02:00
7 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}Error – {{ APP_TITLE }}{% endblock %}

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}Error – {{ APP_TITLE }}{% endblock %}

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}Not Found – {{ APP_TITLE }}{% endblock %}

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}Error – {{ APP_TITLE }}{% endblock %}

7
ljg/core/urls.py Normal file
View File

@ -0,0 +1,7 @@
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="index"),
]

View File

@ -1,3 +1,5 @@
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "base.html", {})

View File

@ -18,6 +18,7 @@ from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path("", include("ljg.core.urls")),
path("", include("ljg.redirect.urls")),
path("admin/", admin.site.urls),
path("oidc/", include("mozilla_django_oidc.urls")),