Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
chris
repanier
Commits
8af63fe3
Commit
8af63fe3
authored
Jun 25, 2017
by
Patrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the producer reference site is optional
parent
7670afa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
repanier/admin/producer.py
repanier/admin/producer.py
+5
-1
No files found.
repanier/admin/producer.py
View file @
8af63fe3
...
...
@@ -120,7 +120,11 @@ class ProducerDataForm(forms.ModelForm):
widget
=
admin
.
widgets
.
FilteredSelectMultiple
(
repanier
.
apps
.
REPANIER_SETTINGS_PERMANENCE_ON_NAME
,
False
),
required
=
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"
}),
required
=
False
)
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
(
ProducerDataForm
,
self
).
__init__
(
*
args
,
**
kwargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment