Add support for auto_weight counter on choices when loading selection field from custom_fields.yml
This also fixes a bug when using the same value for 2 different custom fields breaks becuase it tries to
create a new CustomFieldChoice object instead of reusing the one that already exists.
1 parent 19805a4 commit 187c349fde945499edd1027fc2816984e076f6bb
@Grokzen Grokzen authored on 19 Apr 2018
Showing 2 changed files
View
initializers/custom_fields.yml
View
startup_scripts/20_custom_fields.py