vpnmanager/manager/migrations/0002_auto_20181125_1457.py

31 lines
918 B
Python
Raw Normal View History

2018-11-25 15:05:26 +00:00
# Generated by Django 2.1.3 on 2018-11-25 14:57
from django.db import migrations, models
import manager.models
class Migration(migrations.Migration):
dependencies = [
('manager', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='device',
name='serial',
field=models.CharField(default='This', max_length=12, unique=True, verbose_name='Device Serial Number'),
preserve_default=False,
),
migrations.AlterField(
model_name='device',
name='curip',
field=models.CharField(blank=True, max_length=15, null=True, verbose_name='Current IP Address'),
),
migrations.AlterField(
model_name='device',
name='secret',
field=models.CharField(default=manager.models.getRandom, max_length=128, verbose_name='Secret'),
),
]