cma_search 调整到阿里云测试环境

This commit is contained in:
caoqianming 2021-06-17 11:59:27 +08:00
parent b977024972
commit ba8c71e056
6 changed files with 22 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,18 @@
# Generated by Django 3.0.5 on 2021-06-17 02:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('supervision', '0021_auto_20210408_0824'),
]
operations = [
migrations.AddField(
model_name='content',
name='template',
field=models.CharField(blank=True, max_length=200, null=True, verbose_name='模板地址'),
),
]

View File

@ -12,6 +12,7 @@ class Content(CommonAModel):
type = models.ForeignKey(Dict, verbose_name='材料类型', on_delete= models.DO_NOTHING)
can_doself = models.BooleanField('可随时主动报送', default=False)
sortnum = models.IntegerField('排序号', default=1)
template = models.CharField('模板地址', max_length=200, null=True, blank=True)
class Meta:
verbose_name = '报送清单'

View File

@ -4,9 +4,9 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'cma',
'USER': 'cma',
'PASSWORD': 'cma123',
'HOST': '172.16.80.102',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': '47.95.0.242',
'PORT': '5432',
}
}