-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bf592d
commit 11f32af
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
zezere/migrations/0013_sshkey_date_sshkey_title_alter_device_mac_address.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 4.0.4 on 2022-04-14 00:49 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
import django.utils.timezone | ||
import zezere.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('zezere', '0012_auto_20200323_1130'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='sshkey', | ||
name='date', | ||
field=models.DateField(auto_now_add=True, default=django.utils.timezone.now), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='sshkey', | ||
name='title', | ||
field=models.CharField(blank=True, max_length=10, verbose_name='SSH title'), | ||
), | ||
migrations.AlterField( | ||
model_name='device', | ||
name='mac_address', | ||
field=models.CharField(max_length=20, unique=True, validators=[django.core.validators.RegexValidator('^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$'), zezere.models.validator_disallow_blacklisted_mac], verbose_name='Device MAC Address'), | ||
), | ||
] |