channel_folder: Add API to create a channel folder.

This commit also includes code to include channel_folders
data in register response.

Fixes part of #31972.
This commit is contained in:
Sahil Batra
2025-05-02 19:20:22 +05:30
committed by Tim Abbott
parent 350f6a1fa1
commit 332abd9e91
17 changed files with 471 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
# Generated by Django 5.1.8 on 2025-05-05 13:27
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0706_channelfolder"),
]
operations = [
migrations.AddField(
model_name="realmauditlog",
name="modified_channel_folder",
field=models.ForeignKey(
null=True, on_delete=django.db.models.deletion.CASCADE, to="zerver.channelfolder"
),
),
]