from django.urls import path from .views import echo_render, health # health if you already have it urlpatterns = [ path("bots/echo_render", echo_render, name="pxy_bots_echo_render"), path("bots/health/", health, name="pxy_bots_health"), # optional ]