mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Add realm setting to set time limit for message deleitng. Set default value of message_content_delete_limit_seconds to 600 seconds(10 min). Thanks to Shubham Dhama for rebasing and reworking this. Some final edits also done by Tim Abbott. Fixes #7344.
21 lines
477 B
Python
21 lines
477 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.11 on 2018-04-24 22:12
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0160_add_choice_field'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='realm',
|
|
name='message_content_delete_limit_seconds',
|
|
field=models.IntegerField(default=600),
|
|
),
|
|
]
|