Don't enforce a regtypes activeuntil to be inside conference dates
authorMagnus Hagander <magnus@hagander.net>
Fri, 28 Sep 2018 12:38:20 +0000 (14:38 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 28 Sep 2018 12:38:56 +0000 (14:38 +0200)
The only reason to really use it is to set it to a date ahead of the
conference..

Noticed by Stephen Frost

postgresqleu/confreg/backendforms.py

index ee1126511e6c3787c3e659fdb5a5c43546929205..4c3bff3d84db581c8bb281b5bf4790ab83f6e77c 100644 (file)
@@ -263,6 +263,7 @@ class BackendRegistrationClassForm(BackendForm):
 class BackendRegistrationTypeForm(BackendForm):
        helplink = 'registrations#regtypes'
        list_fields = ['regtype', 'regclass', 'cost', 'active', 'sortkey']
+       exclude_date_validators = ['activeuntil', ]
        vat_fields = {'cost': 'reg'}
        allow_copy_previous = True
        coltypes = {