feat: Add hello world homepage endpoint

Related Issue(s):

Closes #1

What does this MR do?

Adds a simple "hello" endpoint at the root URL path that returns a basic HTTP response with "hello" text. This creates a functional homepage for the Django project.

Why was this MR needed?

The project previously had no content at the root URL, resulting in a 404 error when accessing the base domain. This basic endpoint provides a working homepage and demonstrates the application is running correctly.

How was it implemented?

  • Added a simple hello_view function in myproject/urls.py that returns an HttpResponse with "hello" text
  • Mapped this view to the root path '' in the URL patterns
  • Used inline implementation for simplicity since it's just a basic response

How to test:

  1. Start the Django development server: python manage.py runserver
  2. Navigate to http://localhost:8000/ in your browser
  3. Verify the page displays "hello" text
  4. Confirm the admin panel still works at http://localhost:8000/admin/

Merge request reports

Loading