Browse Source

fix migrations.

feature_pre_subscribtion_vlan
Hugo LEVY-FALK 7 years ago
parent
commit
8ce1a6a184
  1. 2
      preferences/migrations/0055_generaloption_main_site_url.py
  2. 4
      users/forms.py

2
preferences/migrations/0055_generaloption_main_site_url.py

@ -8,7 +8,7 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('preferences', '0054_merge_20181025_1258'),
('preferences', '0053_optionaluser_self_change_room'),
]
operations = [

4
users/forms.py

@ -384,8 +384,8 @@ class AdherentCreationForm(AdherentForm):
# Checkbox for GTU
gtu_check = forms.BooleanField(required=True)
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"), _(".")))
#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"), _(".")))
def __init__(self, *args, **kwargs):
super(AdherentCreationForm, self).__init__(*args, **kwargs)

Loading…
Cancel
Save