django-components/sampleproject/components/urls.py
2024-01-27 23:10:03 +01:00

8 lines
259 B
Python

from components.calendar.calendar import Calendar
from components.greeting import Greeting
from django.urls import path
urlpatterns = [
path("greeting/", Greeting.as_view(), name="greeting"),
path("calendar/", Calendar.as_view(), name="calendar"),
]