mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Application des migrations dans le bon ordre
This commit is contained in:
parent
5dce3629b7
commit
eac4933853
1 changed files with 13 additions and 13 deletions
|
@ -14,6 +14,19 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='SshFprAlgo',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=256)),
|
||||
],
|
||||
options={
|
||||
'permissions': (('view_sshfpralgo', 'Can see an SSH fingerprint algorithm'),),
|
||||
'verbose_name': 'SSH fingerprint algorithm',
|
||||
'verbose_name_plural': 'SSH fingerprint algorithms'
|
||||
},
|
||||
bases=(re2o.mixins.RevMixin, re2o.mixins.AclMixin, models.Model),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='SshFingerprint',
|
||||
fields=[
|
||||
|
@ -30,17 +43,4 @@ class Migration(migrations.Migration):
|
|||
},
|
||||
bases=(re2o.mixins.RevMixin, re2o.mixins.AclMixin, models.Model),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='SshFprAlgo',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=256)),
|
||||
],
|
||||
options={
|
||||
'permissions': (('view_sshfpralgo', 'Can see an SSH fingerprint algorithm'),),
|
||||
'verbose_name': 'SSH fingerprint algorithm',
|
||||
'verbose_name_plural': 'SSH fingerprint algorithms'
|
||||
},
|
||||
bases=(re2o.mixins.RevMixin, re2o.mixins.AclMixin, models.Model),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue