mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Dropping support for url_prefix for RealmPlayground, the server now uses url_template instead only for playground creation, retrieval and audit logging upon removal. This does the necessary handling so that url_template is expanded with the extracted code. Fixes #25723. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
24 lines
618 B
Python
24 lines
618 B
Python
# Generated by Django 4.2.1 on 2023-05-27 03:13
|
|
|
|
from django.db import migrations, models
|
|
|
|
from zerver.models import url_template_validator
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0463_backfill_realmplayground_url_template"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name="realmplayground",
|
|
name="url_prefix",
|
|
),
|
|
migrations.AlterField(
|
|
model_name="realmplayground",
|
|
name="url_template",
|
|
field=models.TextField(validators=[url_template_validator], null=False),
|
|
),
|
|
]
|