In order to avoid issues related to models stored without Slug, this PR only allows the creation of slugs before saving the model.
The id strategy changes behavior. Now, in case the model does not have an ID yet, uses a random int instead to generate the slug.
In order to avoid issues related to models stored without Slug, this PR only allows the creation of slugs before saving the model. The
id
strategy changes behavior. Now, in case the model does not have an ID yet, uses a random int instead to generate the slug.