1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Tweaked links to ensure that new child prefixes inherit the VRF and site of their parent by default

This commit is contained in:
Jeremy Stretch
2016-03-02 22:15:23 -05:00
parent 337815f81d
commit 7776ce5266
3 changed files with 10 additions and 3 deletions

View File

@ -447,6 +447,7 @@ def prefix_add(request):
else:
form = PrefixForm(initial={
'site': request.GET.get('site'),
'vrf': request.GET.get('vrf'),
'prefix': request.GET.get('prefix'),
})