diff --git a/aleksis/apps/chronos/templates/chronos/quicklaunch.html b/aleksis/apps/chronos/templates/chronos/quicklaunch.html index 940b6e178aff2103a93f395763e7aa0255f02188..efd52150b37122b6b26f7af53e910671bd35a65e 100644 --- a/aleksis/apps/chronos/templates/chronos/quicklaunch.html +++ b/aleksis/apps/chronos/templates/chronos/quicklaunch.html @@ -31,7 +31,7 @@ {% for class in classes %} <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary" - href="{% url 'timetable' 'group' class.id %}"> + href="{% url 'timetable' 'group' class.pk %}"> {{ class.short_name }} </a> {% endfor %} @@ -42,7 +42,7 @@ {% for room in rooms %} <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary" - href="{% url 'timetable' 'room' room.id %}"> + href="{% url 'timetable' 'room' room.pk %}"> {{ room.short_name }} </a> {% endfor %}