diff --git a/crewpulse/urls.py b/crewpulse/urls.py index 4ae476e..b9152d1 100644 --- a/crewpulse/urls.py +++ b/crewpulse/urls.py @@ -20,5 +20,6 @@ import main.views as main urlpatterns = [ path('admin/', admin.site.urls), - path('', admin.site.urls) + # path('', admin.site.urls), + path('calculator/', main.calculator) ] diff --git a/main/templates/main/calculator.html b/main/templates/main/calculator.html new file mode 100644 index 0000000..fb95a10 --- /dev/null +++ b/main/templates/main/calculator.html @@ -0,0 +1,76 @@ + + + + + + Bitwert Berechnung + + + +

Wochentage Bitwert Berechnung

+
+ + + + + + + + + + + +

+ +
+ +
+ + + + \ No newline at end of file diff --git a/main/views.py b/main/views.py index 2bcff9f..9fe8762 100644 --- a/main/views.py +++ b/main/views.py @@ -3,4 +3,7 @@ from django.http import HttpResponse # Create your views here. def home(request): - return HttpResponse("HELLO WORLD") \ No newline at end of file + return HttpResponse("HELLO WORLD") + +def calculator(request): + return render(request, "main/calculator.html", {}) \ No newline at end of file