Skip to content

Commit

Permalink
tests4
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Bodreev committed Feb 10, 2025
1 parent de6c209 commit 37f03d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/kittygram_backend/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
router.register(r"cats", CatViewSet)
router.register(r"achievements", AchievementViewSet)


# ✅ Функция для корневого пути "/"
def index(request):
return HttpResponse("Kittygram is running!")


urlpatterns = [
path("admin/", admin.site.urls),
path("api/", include(router.urls)),
Expand Down

0 comments on commit 37f03d3

Please sign in to comment.