justinmayer / django-autoslug

AutoSlugField for Django. Supports (but not does not require) unidecode/pytils for transliteration. Old issue tracker is at Bitbucket: https://bitbucket.org/neithere/django-autoslug/issues

Home Page:https://readthedocs.org/projects/django-autoslug/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambda functions no longer work with Django migrations

bschuon opened this issue · comments

To use a function (like slugifying someone's full name, which requires an instance of the model), in the past you could use a Lambda function. However, trying to do an (unrelated) migration on that model now raises an error:

"ValueError: Cannot serialize function: lambda"