Что-то вроде:
Код: Выделить всё
register_field_strategy(models.CharField, st.text(alphabet=st.characters(blacklist_categories=["C", "S"], blacklist_characters=['&'])))
Подробнее здесь: https://stackoverflow.com/questions/797 ... generation
Код: Выделить всё
register_field_strategy(models.CharField, st.text(alphabet=st.characters(blacklist_categories=["C", "S"], blacklist_characters=['&'])))