fix
This commit is contained in:
parent
c51bd0a376
commit
b48c601e7b
|
@ -188,9 +188,9 @@ def icalendar(request):
|
||||||
|
|
||||||
return HttpResponse(to_calendar(lien.etudiant, lien.periode).to_ical(), content_type="text/calendar")
|
return HttpResponse(to_calendar(lien.etudiant, lien.periode).to_ical(), content_type="text/calendar")
|
||||||
except LienCalendrier.DoesNotExist:
|
except LienCalendrier.DoesNotExist:
|
||||||
return HttpResponse("Invalid key", status_code=404)
|
return HttpResponse("Invalid key", status=404)
|
||||||
else:
|
else:
|
||||||
return HttpResponse("Unspecified key", status_code=404)
|
return HttpResponse("Unspecified key", status=404)
|
||||||
|
|
||||||
def data_dump(request):
|
def data_dump(request):
|
||||||
template = loader.get_template("data_dump.html")
|
template = loader.get_template("data_dump.html")
|
||||||
|
|
Loading…
Reference in New Issue