changes
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -82,7 +82,7 @@ ASGI_APPLICATION = 'api.asgi.application'
|
||||
#prod:5.223.52.193 dev:5.223.42.146
|
||||
|
||||
MODE = 'prod'
|
||||
DBHOST = '172.17.0.1' if MODE == 'prod' else '5.223.42.146'
|
||||
DBHOST = '172.17.0.1' if MODE == 'prod' else '5.223.52.193'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.1.7 on 2026-01-19 07:24
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0358_people_issued_place'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='organization',
|
||||
name='established_date',
|
||||
field=models.DateField(null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='organization',
|
||||
name='shortname',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
]
|
||||
@@ -1349,8 +1349,8 @@ class Individual(models.Model):
|
||||
|
||||
class Organization(models.Model):
|
||||
customer = models.ForeignKey(Customer, null=False, related_name='orgncust', on_delete=models.PROTECT)
|
||||
shortname = models.CharField(max_length=50, null=False)
|
||||
established_date = models.DateField()
|
||||
shortname = models.CharField(max_length=50, null=True)
|
||||
established_date = models.DateField(null=True)
|
||||
website = models.CharField(max_length=200, null=True)
|
||||
bank_account = models.CharField(max_length=50, null=True)
|
||||
bank_name = models.CharField(max_length=100, null=True)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user