Skip to content
Snippets Groups Projects
Verified Commit a173962a authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Rename url substitutions_by_day to substitutions_by_date

parent 05618717
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
......@@ -22,5 +22,5 @@ urlpatterns = [
name="delete_substitution",
),
path("substitutions/", views.substitutions, name="substitutions"),
path("substitutions/<int:year>/<int:month>/<int:day>/", views.substitutions, name="substitutions_by_day"),
path("substitutions/<int:year>/<int:month>/<int:day>/", views.substitutions, name="substitutions_by_date"),
]
......@@ -316,7 +316,7 @@ def substitutions(
context["day"] = wanted_day
context["url_prev"], context["url_next"] = get_prev_next_by_day(
wanted_day, "substitutions_by_day"
wanted_day, "substitutions_by_date"
)
return render(request, "chronos/substitutions.html", context)
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