feat: Add hello endpoint to Django URLs

Related Issue(s):

Closes #1

What does this MR do?

Adds a simple "hello" endpoint at /hello/ that returns "hello" as an HTTP response. Creates a basic view function hello_view directly in the main URLs configuration.

Why was this MR needed?

Implements a basic endpoint for testing or demonstration purposes as requested in issue #1.

How was this implemented?

  • Added hello_view function in myproject/urls.py that returns HttpResponse("hello")
  • Registered new URL pattern path('hello/', hello_view, name='hello')
  • Imported required HttpResponse from django.http

How to test:

  1. Start Django server: python manage.py runserver
  2. Navigate to http://localhost:8000/hello/
  3. Verify page displays "hello" text
  4. Check that existing /admin/ endpoint still works

Merge request reports

Loading