cma_search 调整到阿里云测试环境
This commit is contained in:
parent
b977024972
commit
ba8c71e056
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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='模板地址'),
|
||||
),
|
||||
]
|
|
@ -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 = '报送清单'
|
||||
|
|
|
@ -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',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue