Commit 6b5fee5e authored by Ale's avatar Ale

feat: Don't require address and position in testimonies

parent c7a0b9ed
......@@ -22,3 +22,4 @@ class TestimonyForm(forms.ModelForm):
super(TestimonyForm,self).__init__(*args, **kwargs)
self.fields['category'].empty_label = 'Elige una categoría'
self.fields['email'].required = True
self.fields['address'].required = True
......@@ -51,7 +51,7 @@ class Testimony(Publishable):
address = models.CharField(
_('Lugar'),
max_length = 128,
blank = False,
blank = True,
null = True,
help_text = _(
'¿Dónde sucede tu historia? Intenta aproximarte bastante, usaremos '
......@@ -60,7 +60,7 @@ class Testimony(Publishable):
)
position = PointField(
_('Sitúa tu historia'),
blank = False,
blank = True,
null = True,
help_text = _(
'Usa el localizador para encontrar tu ubicación pulsando en '
......
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