Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
e7f056d2
Commit
e7f056d2
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
remove annoying debug prints.
Former-commit-id: 946287fc5195ccc83a1bc914d0446873891f748e
parent
741d7d48
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/forms.py
+0
-4
0 additions, 4 deletions
ippisite/ippidb/forms.py
with
0 additions
and
4 deletions
ippisite/ippidb/forms.py
+
0
−
4
View file @
e7f056d2
...
...
@@ -141,10 +141,6 @@ class BaseCompoundFormSet(BaseFormSet):
form
.
fields
[
"
molecule_comp
"
]
=
forms
.
CharField
(
widget
=
forms
.
TextInput
(
attrs
=
{
'
placeholder
'
:
'
Molecule commposition here
'
,
'
required
'
:
'
required
'
}))
CompoundFormSet
=
formset_factory
(
CompoundForm
,
formset
=
BaseCompoundFormSet
,
extra
=
2
,
max_num
=
500
,
can_delete
=
True
)
formset
=
CompoundFormSet
()
print
(
formset
.
is_valid
())
for
form
in
formset
:
print
(
form
.
as_table
())
class
TestsForm
(
ModelForm
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment