transport-accessibility/transport_accessibility/pt_map/views.py
Johannes Randerath c22049f499 Added documentation
- Using sphinx to documente the project
- Autodocumenting Python using numpy-style docstr and sphinx autodoc with napoleon
2024-06-03 20:29:28 +02:00

19 lines
466 B
Python

"""
Views
=====
Views reacting to Http Requests by interfacing between backend and frontend.
Functions
---------
index(request)
Home page
"""
from django.shortcuts import render
from django.http import HttpResponse
from .models import Agency, Stop, Route, Trip, StopTime, Calendar, CalendarDate, FareAttribute, FareRule, Shape, Frequency, Transfer, FeedInfo
def index(request):
context = {}
return HttpResponse(request, "templates/map.html", context)