lqez / django-summernote

Simply integrate Summernote editor with Django project.
MIT License
1.05k stars 227 forks source link

Explicitly specify 'id' field in attachment model #502

Open ethanhann opened 7 months ago

ethanhann commented 7 months ago

This resolves a downstream issue where projects using "BigAutoField" as their default auto field, will generate an unwanted migration.

The unwanted migration will switch the field from AutoField to BigAutoField. This is unnecessary and causes issues - especially when working in an environment where you don't have permission to create the migration (e.g. #492).