Skip to content

Commit

Permalink
Hello World page test
Browse files Browse the repository at this point in the history
  • Loading branch information
Astronaut101 committed Jan 31, 2024
1 parent 5fc0e27 commit 2b22c11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cfehome/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
from django.contrib import admin
from django.urls import path

from . import views

urlpatterns = [
path("", views.hello_world),
path("admin/", admin.site.urls),
]
5 changes: 5 additions & 0 deletions src/cfehome/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.http import HttpResponse


def hello_world(request):
return HttpResponse("Hello, world. You're at the Hello World Page.")

0 comments on commit 2b22c11

Please sign in to comment.