Render base template for index view
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Luca 2023-10-17 01:22:22 +02:00
parent 70388c7b1b
commit e1cf597f05
3 changed files with 11 additions and 1 deletions

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")),