277
277
# from an instance: the field tries to initialise the field using a
278
278
# zone's ID instead of its name, and ends up reverting to the default.
279
279
# The code must work around this bug.
282
282
# We'll create a form that makes a change, but not to the zone.
283
283
data = {'hostname': factory.make_name('host')}
284
284
form = AdminNodeForm(instance=node, data=data)