mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-03 17:54:27 +02:00
Manage AllowedIPs for client config file
This commit is contained in:
parent
7561156235
commit
32931dfd16
11 changed files with 188 additions and 106 deletions
18
wireguard/migrations/0020_peerallowedip_config_file.py
Normal file
18
wireguard/migrations/0020_peerallowedip_config_file.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.2 on 2024-03-08 18:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wireguard', '0019_alter_wireguardinstance_legacy_firewall'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='peerallowedip',
|
||||
name='config_file',
|
||||
field=models.CharField(choices=[('server', 'Server Config'), ('client', 'Client config')], default='server', max_length=6),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue