Marketplace, CSS, iCal and a lot of things... #4

Closed
valentin wants to merge 59 commits from dev into main
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 244ea7136c - Show all commits

View File

@ -188,9 +188,9 @@ def icalendar(request):
return HttpResponse(to_calendar(lien.etudiant, lien.periode).to_ical(), content_type="text/calendar")
except LienCalendrier.DoesNotExist:
return HttpResponse("Invalid key", status_code=404)
return HttpResponse("Invalid key", status=404)
else:
return HttpResponse("Unspecified key", status_code=404)
return HttpResponse("Unspecified key", status=404)
def data_dump(request):
template = loader.get_template("data_dump.html")