mirror of https://github.com/interlegis/sapl.git
Browse Source
- audiencia/forms.py: also catch ValueError when querying MateriaLegislativa by numero, so a non-numeric input (e.g. '36 e 61') surfaces as a form validation error instead of an unhandled 500. - utils.py: MultiFormatOutputMixin.render_to_response was doing getattr(request, request.method) which fails for HEAD requests because Django exposes request.GET/POST but not request.HEAD; remap HEAD → GET. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3.1.x
2 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue