mirror of https://github.com/jumpserver/jumpserver
parent
5d4fa22058
commit
7128593502
|
@ -13,11 +13,11 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name='changesecretautomation',
|
||||
name='secret_strategy',
|
||||
field=models.CharField(choices=[('specific', 'Specific password'), ('random', 'Random')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
field=models.CharField(choices=[('specific', 'Specific secret'), ('random', 'Random generate')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='pushaccountautomation',
|
||||
name='secret_strategy',
|
||||
field=models.CharField(choices=[('specific', 'Specific password'), ('random', 'Random')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
field=models.CharField(choices=[('specific', 'Specific secret'), ('random', 'Random generate')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -29,6 +29,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='accounttemplate',
|
||||
name='secret_strategy',
|
||||
field=models.CharField(choices=[('specific', 'Specific password'), ('random', 'Random')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
field=models.CharField(choices=[('specific', 'Specific secret'), ('random', 'Random generate')], default='specific', max_length=16, verbose_name='Secret strategy'),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 4.1.10 on 2023-09-22 06:52
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ops', '0026_auto_20230810_1039'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='celerytaskexecution',
|
||||
options={'ordering': ['-date_start'], 'verbose_name': 'Celery Task Execution'},
|
||||
),
|
||||
]
|
|
@ -1,11 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
import uuid
|
||||
import os
|
||||
import uuid
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.conf import settings
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from ops.celery import app
|
||||
|
||||
|
@ -83,4 +83,5 @@ class CeleryTaskExecution(models.Model):
|
|||
return "{}: {}".format(self.name, self.id)
|
||||
|
||||
class Meta:
|
||||
ordering = ['-date_start']
|
||||
verbose_name = _("Celery Task Execution")
|
||||
|
|
|
@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='applet',
|
||||
name='edition',
|
||||
field=models.CharField(choices=[('community', 'Community'), ('enterprise', 'Enterprise')],
|
||||
field=models.CharField(choices=[('community', 'Community edition'), ('enterprise', 'Enterprise')],
|
||||
default='community', max_length=128, verbose_name='Edition'),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue