Commit 8af63fe3 authored by Patrick's avatar Patrick

the producer reference site is optional

parent 7670afa1
......@@ -120,7 +120,11 @@ class ProducerDataForm(forms.ModelForm):
widget=admin.widgets.FilteredSelectMultiple(repanier.apps.REPANIER_SETTINGS_PERMANENCE_ON_NAME, False),
reference_site = forms.URLField(label=_("reference site"), widget=forms.URLInput(attrs={'style': "width:100% !important"}))
reference_site = forms.URLField(
label=_("reference site"),
widget=forms.URLInput(attrs={'style': "width:100% !important"}),
def __init__(self, *args, **kwargs):
super(ProducerDataForm, 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