diff --git a/amadeus/settings.py b/amadeus/settings.py index d02e67e..e9297c8 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -139,7 +139,7 @@ TIME_ZONE = 'America/Recife' USE_I18N = True -USE_L10N = False +USE_L10N = True USE_TZ = True diff --git a/forum/templates/forum/forum_form.html b/forum/templates/forum/forum_form.html index dd7fe3d..ed6abc3 100644 --- a/forum/templates/forum/forum_form.html +++ b/forum/templates/forum/forum_form.html @@ -7,6 +7,9 @@
{% if field.field.widget.input_type == 'hidden' %} {% render_field field class='form-control' %} + {% elif field.auto_id == 'id_limit_date' %} + + {{ field.help_text }} {% else %} {% render_field field %} diff --git a/users/forms.py b/users/forms.py index c3a70bc..a1da1b5 100644 --- a/users/forms.py +++ b/users/forms.py @@ -72,7 +72,7 @@ class UpdateUserForm(forms.ModelForm): fields = ['username', 'name', 'email', 'birth_date', 'city', 'state', 'gender', 'type_profile', 'cpf', 'phone', 'image', 'titration', 'year_titration', 'institution', 'curriculum', 'is_staff', 'is_active'] - + class UpdateProfileForm(UpdateUserForm): class Meta: diff --git a/users/templates/users/update.html b/users/templates/users/update.html index f08f126..0102cb2 100644 --- a/users/templates/users/update.html +++ b/users/templates/users/update.html @@ -34,7 +34,7 @@
{% if field.auto_id == 'id_birth_date' %} - + {{ field.help_text }} {% elif field.auto_id == 'id_image' or field.auto_id == 'id_curriculum'%} {% render_field field class='form-control input-sm' %} -- libgit2 0.21.2