Update KARBS

This commit is contained in:
Kristofers Solo
2022-11-28 00:48:32 +02:00
parent e32f9c9561
commit e41a60963c
16 changed files with 158 additions and 123 deletions

View File

@@ -2,5 +2,5 @@ from django.apps import AppConfig
class KarbsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'karbs'
default_auto_field = "django.db.models.BigAutoField"
name = "karbs"

View File

@@ -2,6 +2,6 @@ from django.urls import path
from . import views
urlpatterns = [
path('', views.karbs, name='karbs'),
path('instructions', views.instructions, name='instructions'),
path("", views.karbs, name="karbs"),
path("instructions", views.instructions, name="instructions"),
]

View File

@@ -3,9 +3,9 @@ from django.shortcuts import render, redirect
def instructions(request):
"""Karbs Instruction"""
return render(request, 'karbs/instructions.html', {'title': 'Karbs Instructions'})
return render(request, "karbs/instructions.html", {"title": "Karbs Instructions"})
def karbs(request):
"""Karbs install script"""
return render(request, 'karbs/karbs.sh', {'title': 'KARBS'})
return render(request, "karbs/karbs", {"title": "KARBS"})