summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2018-03-13 13:50:43 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2018-03-13 13:50:43 +0800
commit10ab5c41564e9a2b4c23771dd846f2a3e1103a78 (patch)
treed531fdaa36148573aefd3189ca10a98d13bbd6c0
parent64d1e2dc640d673140c98eab1e7f7c342aaf0eae (diff)
Fix vfc-lcm start warning
Change-Id: I67770d9a9832046bde1442c887c1c5c3eae21451 Issue-ID: VFC-809 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--lcm/pub/database/models.py2
-rw-r--r--lcm/settings.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/lcm/pub/database/models.py b/lcm/pub/database/models.py
index 306cc510..22a7a6b3 100644
--- a/lcm/pub/database/models.py
+++ b/lcm/pub/database/models.py
@@ -302,7 +302,7 @@ class ServiceBaseInfoModel(models.Model):
active_status = models.CharField(db_column='activeStatus', max_length=20)
status = models.CharField(db_column='status', max_length=20)
creator = models.CharField(db_column='creator', max_length=50)
- create_time = models.BigIntegerField(db_column='createTime', max_length=20)
+ create_time = models.BigIntegerField(db_column='createTime')
class WFPlanModel(models.Model):
diff --git a/lcm/settings.py b/lcm/settings.py
index 128d298c..37c923cd 100644
--- a/lcm/settings.py
+++ b/lcm/settings.py
@@ -45,8 +45,6 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'rest_framework',
'lcm.pub.database',
- # 'lcm.samples',
- # 'lcm.swagger',
'drf_yasg'
]