lqez / django-summernote

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

Explicitly specify 'id' field in attachment model #502

Open ethanhann opened 8 months ago

ethanhann commented 8 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).