add: contract create serializer, TODO: fix errors with owners create and test

This commit is contained in:
2025-08-05 15:49:53 +05:00
parent e77f799802
commit 5630429974
6 changed files with 283 additions and 110 deletions

View File

@@ -0,0 +1,21 @@
# Generated by Django 5.2.4 on 2025-08-05 06:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("companies", "0004_alter_companymodel_logo_and_more"),
("contracts", "0001_initial"),
]
operations = [
migrations.AlterField(
model_name="companyfoldermodel",
name="contracts",
field=models.ManyToManyField(
blank=True, null=True, related_name="folders", to="contracts.contractmodel", verbose_name="Contracts"
),
),
]