#ShortUUIDField causes makemigrations to falsely detect changes

5 messages · Page 1 of 1 (latest)

heady crypt
#

whenever i have a model with

class Folder(MPTTModel):
    id = ShortUUIDField(default=shortuuid.uuid, primary_key=True, editable=False)

With a field ShortUUIDField, each time i run makemigrations it falsely detects a change and makes alter field

How can i fix this?

heady crypt
#

Bump

fiery marsh
#

You don't need to bump, people will answer if they have an idea 🙂

#

Which package are you using for ShortUUIDField?