Skip to content
Snippets Groups Projects
Commit 6a6f9761 authored by Julian's avatar Julian
Browse files

fixed typo (failback → fallback)

parent 66a7424f
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,5 @@ from django.shortcuts import render
@login_required
def failback(request, *args, **kwargs):
def fallback(request, *args, **kwargs):
return render(request, "timetable/failback.html")
......@@ -21,21 +21,21 @@ try:
]
except Terms.DoesNotExist:
from . import failback_view
from . import fallback_view
urlpatterns = [
path('', failback_view.failback, name='timetable_admin_all'),
path('my', failback_view.failback, name='timetable_my_plan'),
path('my/<int:year>/<int:month>/<int:day>/', failback_view.failback, name='timetable_my_plan'),
path('quick/', failback_view.failback, name='timetable_quicklaunch'),
path('<str:plan_type>/<int:plan_id>', failback_view.failback, name='timetable_smart_plan'),
path('<str:plan_type>/<int:plan_id>/<str:regular>', failback_view.failback, name='timetable_regular_plan'),
path('<str:plan_type>/<int:plan_id>/<int:year>/<int:calendar_week>', failback_view.failback,
path('', fallback_view.fallback, name='timetable_admin_all'),
path('my', fallback_view.fallback, name='timetable_my_plan'),
path('my/<int:year>/<int:month>/<int:day>/', fallback_view.fallback, name='timetable_my_plan'),
path('quick/', fallback_view.fallback, name='timetable_quicklaunch'),
path('<str:plan_type>/<int:plan_id>', fallback_view.fallback, name='timetable_smart_plan'),
path('<str:plan_type>/<int:plan_id>/<str:regular>', fallback_view.fallback, name='timetable_regular_plan'),
path('<str:plan_type>/<int:plan_id>/<int:year>/<int:calendar_week>', fallback_view.fallback,
name='timetable_smart_plan_week'),
path('substitutions/', failback_view.failback, name='timetable_substitutions'),
path('substitutions/<int:year>/<int:month>/<int:day>/', failback_view.failback,
path('substitutions/', fallback_view.fallback, name='timetable_substitutions'),
path('substitutions/<int:year>/<int:month>/<int:day>/', fallback_view.fallback,
name='timetable_substitutions_date'),
path('class.pdf', failback_view.failback, name="timetable_substitutions_pdf")
path('class.pdf', fallback_view.fallback, name="timetable_substitutions_pdf")
]
urlpatterns += [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment