mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-07-24 04:45:07 +02:00
wg instance dns settings and peer list refresh interval configuration
This commit is contained in:
parent
cfcabed244
commit
3563da423b
10 changed files with 88 additions and 16 deletions
|
@ -3,8 +3,8 @@ from .models import WireGuardInstance, Peer, PeerAllowedIP
|
|||
|
||||
|
||||
class WireGuardInstanceAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'instance_id', 'private_key', 'hostname', 'listen_port', 'address', 'netmask', 'post_up', 'post_down', 'persistent_keepalive', 'created', 'updated', 'uuid')
|
||||
search_fields = ('name', 'instance_id', 'private_key', 'hostname', 'listen_port', 'address', 'netmask', 'post_up', 'post_down', 'persistent_keepalive', 'created', 'updated', 'uuid')
|
||||
list_display = ('name', 'instance_id', 'private_key', 'hostname', 'listen_port', 'address', 'netmask', 'post_up', 'post_down', 'created', 'updated', 'uuid')
|
||||
search_fields = ('name', 'instance_id', 'private_key', 'hostname', 'listen_port', 'address', 'netmask', 'post_up', 'post_down', 'created', 'updated', 'uuid')
|
||||
|
||||
admin.site.register(WireGuardInstance, WireGuardInstanceAdmin)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue