mirror of
https://github.com/kristoferssolo/kristofersxyz.git
synced 2026-03-22 00:26:20 +00:00
Update KARBS
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"),
|
||||
]
|
||||
|
||||
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user