31 lines
1,010 B
Python
31 lines
1,010 B
Python
|
# Generated by Django 2.1.4 on 2018-12-10 10:39
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('passbook_audit', '0001_initial'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='auditentry',
|
||
|
name='context',
|
||
|
field=models.TextField(default=''),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='auditentry',
|
||
|
name='request_ip',
|
||
|
field=models.GenericIPAddressField(default=''),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='auditentry',
|
||
|
name='action',
|
||
|
field=models.TextField(choices=[('login', 'login'), ('login_failed', 'login_failed'), ('logout', 'logout'), ('authorize_application', 'authorize_application'), ('suspicious_request', 'suspicious_request'), ('sign_up', 'sign_up'), ('password_reset', 'password_reset')]),
|
||
|
),
|
||
|
]
|