Commit f2d34c8e by Máhonfai Bálint

Add instance limit and template instance limit to group profile

parent 9413d8af
# -*- coding: utf-8 -*-
# Generated by Django 1.11.25 on 2021-02-01 17:30
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dashboard', '0008_profile_template_instance_limit'),
]
operations = [
migrations.AddField(
model_name='groupprofile',
name='instance_limit',
field=models.IntegerField(default=5),
),
migrations.AddField(
model_name='groupprofile',
name='template_instance_limit',
field=models.IntegerField(default=1),
),
]
......@@ -293,6 +293,8 @@ class GroupProfile(AclBase):
org_id = CharField(
unique=True, blank=True, null=True, max_length=64,
help_text=_('Unique identifier of the group at the organization.'))
instance_limit = IntegerField(default=5)
template_instance_limit = IntegerField(default=1)
description = TextField(blank=True)
disk_quota = FileSizeField(
verbose_name=_('disk quota'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment