Closed agaetep closed 1 year ago
@antoniagaete will this impact how it's currently working on the pelican site?
@antoniagaete will this impact how it's currently working on the pelican site?
No, it shouldn't. I've tested this update on both the pelican site and the hugo site, and it worked on my end on the development instance of pelican.
Instead of using
request.form
as a dict (how pelican submits the form), Hugo submits request.form as an ImmutableMultiDict. The only change to request_handler.py, then, is to change how we grab data from request.form (request.form[key] vs request.form.get(key)).