I\'ve run into a strange problem where data seems to persist accross different views and requests until the server gets restarted.
I\'ve managed to reduce the issue to t
Because you're mutating the kwargs that are passed in, which come from class-level properties in the view class.
Instead, copy them and update the copy:
initial_defaults = {'bug': 'no'}
initial_defaults.update(kwargs.get('initial', {}))
defaults = kwargs.copy()
defaults['initial'] = initial_defaults