Laurence Mercer

Welcome

# examples/views.py
from django.http import HttpResponse


def welcome(request):
    return HttpResponse('👋 Hello, world.')
# examples/urls.py
from django.urls import path

from . import views

urlpatterns = [
    path('welcome', views.welcome)
]
# core/urls.py
from django.urls import include, path

urlpatterns = [
    path('examples/', include('examples.urls'))
]

Thanks for reading