Do not assign a value to the class variable 'widget'
Class variable 'widget' stores a default widget for CharField.
It is dangerous to change it. This patch fixes this and assigns
a value to instance variable.
Change-Id: I7220dcacd64aeee096e9340dc49bb4c5ebcfefd5
Closes-Bug: #1521535
(cherry picked from commit 88abc05d2401c1b3e163502923611c7d03c88d35)
Reviewed: https:/ /review. openstack. org/254674 /git.openstack. org/cgit/ openstack/ murano- dashboard/ commit/ ?id=b23495f95ad 19c04bbd0e011bd 308d89f60d2db7
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit b23495f95ad19c0 4bbd0e011bd308d 89f60d2db7
Author: Tetiana Lashchova <email address hidden>
Date: Tue Dec 1 11:33:45 2015 +0200
Do not assign a value to the class variable 'widget'
Class variable 'widget' stores a default widget for CharField.
It is dangerous to change it. This patch fixes this and assigns
a value to instance variable.
Change-Id: I7220dcacd64aee e096e9340dc49bb 4c5ebcfefd5 3e163502923611c 7d03c88d35)
Closes-Bug: #1521535
(cherry picked from commit 88abc05d2401c1b