Commit 20e1ee3b authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root
Browse files

A granted user can set active at creation

parent 4f2c1dcb
......@@ -387,6 +387,20 @@ class AdherentCreationForm(AdherentForm):
#gtu_check.label = mark_safe("{} <a href='/media/{}' download='CGU'>{}</a>{}".format(
# _("I commit to accept the"), GeneralOption.get_cached_value('GTU'), _("General Terms of Use"), _(".")))
class Meta:
model = Adherent
fields = [
def __init__(self, *args, **kwargs):
super(AdherentCreationForm, self).__init__(*args, **kwargs)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment