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/254681 /git.openstack. org/cgit/ openstack/ murano- dashboard/ commit/ ?id=b126c5e5c1b 83e21bcbb1782cf 0b1c3460abac7e
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit b126c5e5c1b83e2 1bcbb1782cf0b1c 3460abac7e
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