Files
zulip/zerver/migrations/0464_remove_realmplayground_url_prefix.py
Zixuan James Li 000761ac0c realm_playgrounds: Replace url_prefix with url_template.
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>
2023-07-24 17:40:59 -07:00

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),
),
]