Skip to content
Snippets Groups Projects
Commit 0600bfcd authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

corrections to model for MDDRCompoundImport

- name is now a text field
- add "Phase 0" and "Suspended" for development phases


Former-commit-id: f8b3e83ba413335a74f85c216078246180176eb6
parent caba9899
No related branches found
No related tags found
No related merge requests found
d24a740b4ee4b892f35e7e1471fec79142340ad3 9b8dd578a77223c74dea98cb7d82eeb5257d6b10
\ No newline at end of file \ No newline at end of file
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-07-27 07:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ippidb', '0004_auto_20180727_0656'),
]
operations = [
migrations.AlterField(
model_name='mddrcompoundimport',
name='dvpmt_phase',
field=models.CharField(choices=[('Biological Testing', ''), ('Preclinical', ''), ('Phase III', ''), ('Phase II', ''), ('Phase I/II', ''), ('Phase I', ''), ('Launched', ''), ('Pre-Registered', ''), ('Not Applicable', ''), ('Discontinued', ''), ('Clinical', ''), ('Withdrawn', ''), ('Registered', ''), ('Not Determined', ''), ('Phase II/III', ''), ('IND Filed', ''), ('Phase 0', ''), ('Suspended', '')], max_length=20, verbose_name='Development phase'),
),
migrations.AlterField(
model_name='mddrcompoundimport',
name='mddr_name',
field=models.TextField(verbose_name='MDDR name'),
),
]
...@@ -535,9 +535,11 @@ class MDDRCompoundImport(models.Model): ...@@ -535,9 +535,11 @@ class MDDRCompoundImport(models.Model):
('Not Determined', ''), ('Not Determined', ''),
('Phase II/III', ''), ('Phase II/III', ''),
('IND Filed', ''), ('IND Filed', ''),
('Phase 0', ''),
('Suspended', ''),
) )
mddr_name = models.CharField('MDDR name', max_length=40) mddr_name = models.TextField('MDDR name')
dvpmt_phase = models.CharField( dvpmt_phase = models.CharField(
'Development phase', max_length=20, choices=MDDR_DEVELOPMENT_PHASES) 'Development phase', max_length=20, choices=MDDR_DEVELOPMENT_PHASES)
canonical_smile = models.TextField( canonical_smile = models.TextField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment