[PATCH] models: Add State.slug field

Andrew Donnellan ajd at linux.ibm.com
Wed Dec 11 11:32:19 AEDT 2019


On 11/12/19 2:32 am, Stephen Finucane wrote:
>> I think the migration can still fail without printing a helpful
>> exception message if two states have names that are different but still
>> slugify to the same thing?
> 
> Good point. I can fix this if we think it's worth it. Personally, I
> think the uniqueness check itself is overkill and could probably be
> removed.

Agreed, though if we're gonna do it I want it done thoroughly ;)

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd at linux.ibm.com             IBM Australia Limited



More information about the Patchwork mailing list