Files @ 2aae2af55dea
Branch filter:

Location: symposion_app/vendor/symposion/schedule/apps.py

James Polley
Disable client-side validation on credit_note forms

* HTML5 browsers have some clevers to do client-side validation of
forms
* Django activates this by default for certain field types
* However, in this case, there are three forms on this page. We rely
on two of them being invalid in order to figure out what processing
to do.
* So we need to disable the client-side validation.
1
2
3
4
5
6
7
from django.apps import AppConfig


class ScheduleConfig(AppConfig):
    name = "symposion.schedule"
    label = "symposion_schedule"
    verbose_name = "Symposion Schedule"