> Can Timeline be integrated with Django?
Yes, you can use it with any framework/backend.
A minimal Django template would look like this:
{% load static %}
<!DOCTYPE html>
<html>
<head>
<script src="{% static 'daypilot/daypilot-all.min.js' %}"></script>
</head>
<body>
<div id="scheduler"></div>
<script>
const scheduler = new DayPilot.Scheduler("scheduler", {
startDate: "2026-06-01",
days: 30,
scale: "Day",
timeHeaders: [
{ groupBy: "Month" },
{ groupBy: "Day", format: "d" }
],
resources: [
{ name: "Room 1", id: "R1" },
{ name: "Room 2", id: "R2" }
],
events: []
});
scheduler.init();
</script>
</body>
</html>
Or with npm/Vite-style frontend bundling:
npm install @daypilot/daypilot-lite-javascript
import { DayPilot } from "@daypilot/daypilot-lite-javascript";
const scheduler = new DayPilot.Scheduler("scheduler", {
startDate: "2026-06-01",
days: 30,
scale: "Day",
resources: [
{ name: "Room 1", id: "R1" }
],
events: []
});
scheduler.init();
Then Django provides the data through JSON endpoints, for example:
from django.http import JsonResponse
def events(request):
return JsonResponse([
{
"id": 1,
"text": "Reservation",
"start": "2026-06-21T10:00:00",
"end": "2026-06-21T12:00:00",
"resource": "R1",
}
], safe=False)
And on the frontend:
const { data } = await DayPilot.Http.get("/api/events/");
scheduler.update({ events: data });
> Is the free version of Timeline included in the Lite version?
Yes. See also the feature matrix for full detail.s