Skip to content

Commit

Permalink
www.api: simplify index view
Browse files Browse the repository at this point in the history
  • Loading branch information
xavfernandez committed Dec 2, 2024
1 parent 927b9fa commit c5dc655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
5 changes: 2 additions & 3 deletions itou/www/api/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from django.urls import path

from itou.www.api import views
from django.views.generic import TemplateView


app_name = "api"


urlpatterns = [
path("", views.index, name="index"),
path("", TemplateView.as_view(template_name="api/index.html"), name="index"),
]
9 changes: 0 additions & 9 deletions itou/www/api/views.py

This file was deleted.

0 comments on commit c5dc655

Please sign in to comment.