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
164f039b
Commit
164f039b
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
CompoundActivityResult inhibition_percentage can be blank
Former-commit-id: 33780e413e6e3cd5b2b8fb919eabb8fb5c85db70
parent
ff7ac9b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ippisite/ippidb/migrations/0007_auto_20180727_0822.py
+20
-0
20 additions, 0 deletions
ippisite/ippidb/migrations/0007_auto_20180727_0822.py
ippisite/ippidb/models.py
+1
-1
1 addition, 1 deletion
ippisite/ippidb/models.py
with
21 additions
and
1 deletion
ippisite/ippidb/migrations/0007_auto_20180727_0822.py
0 → 100644
+
20
−
0
View file @
164f039b
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-07-27 08:22
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'
ippidb
'
,
'
0006_auto_20180727_0816
'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'
compoundactivityresult
'
,
name
=
'
inhibition_percentage
'
,
field
=
models
.
DecimalField
(
blank
=
True
,
decimal_places
=
0
,
max_digits
=
3
,
null
=
True
,
verbose_name
=
'
Inhibition percentage
'
),
),
]
This diff is collapsed.
Click to expand it.
ippisite/ippidb/models.py
+
1
−
1
View file @
164f039b
...
...
@@ -646,7 +646,7 @@ class CompoundActivityResult(models.Model):
activity
=
models
.
DecimalField
(
'
Activity
'
,
max_digits
=
12
,
decimal_places
=
10
)
inhibition_percentage
=
models
.
DecimalField
(
'
Inhibition percentage
'
,
max_digits
=
3
,
decimal_places
=
0
,
null
=
True
)
'
Inhibition percentage
'
,
max_digits
=
3
,
decimal_places
=
0
,
null
=
True
,
blank
=
True
)
modulation_type
=
models
.
CharField
(
'
Modulation type
'
,
max_length
=
1
,
choices
=
MODULATION_TYPES
)
...
...
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