Coverage for src/django_audit_log/migrations/0005_accesslog_in_always_log_urls_and_more.py: 100%
4 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-02 11:43 +0700
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-02 11:43 +0700
1# Generated by Django 5.1.7 on 2025-04-08 05:47
3from django.db import migrations, models
6class Migration(migrations.Migration):
8 dependencies = [
9 ('django_audit_log', '0004_alter_accesslog_user_agent_loguseragent_and_more'),
10 ]
12 operations = [
13 migrations.AddField(
14 model_name='accesslog',
15 name='in_always_log_urls',
16 field=models.BooleanField(default=False, editable=False, help_text='Whether this URL matched a pattern in AUDIT_LOG_ALWAYS_LOG_URLS'),
17 ),
18 migrations.AddField(
19 model_name='accesslog',
20 name='in_sample_urls',
21 field=models.BooleanField(default=False, editable=False, help_text='Whether this URL matched a pattern in AUDIT_LOG_SAMPLE_URLS'),
22 ),
23 migrations.AddField(
24 model_name='accesslog',
25 name='sample_rate',
26 field=models.FloatField(blank=True, editable=False, help_text='The AUDIT_LOG_SAMPLE_RATE value when this log was created', null=True),
27 ),
28 ]