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

Closes #4556: Update form for adding devices to clusters

This commit is contained in:
Jeremy Stretch
2020-04-29 15:50:16 -04:00
parent f98a236a5b
commit 81ffa0811e
4 changed files with 4 additions and 22 deletions

View File

@ -168,7 +168,7 @@ class ClusterAddDevicesView(PermissionRequiredMixin, View):
def get(self, request, pk):
cluster = get_object_or_404(Cluster, pk=pk)
form = self.form(cluster)
form = self.form(cluster, initial=request.GET)
return render(request, self.template_name, {
'cluster': cluster,