django makemigrations: Auto create slugs for already existing records in a Model
Issue #38
new
Hi
Say I am adding AutoSlugField after my database is created, and model (or table) is already populated.
When I add AutoSlugField and run makemigrations (1.7 & later), Django asks to enter default or specify one off value (since field is non-nullable). Now If I want to keep my field unique, it is not possible to set one value for all rows.
So there should be a way to populate field if the AutoSlugField is added AFTER models are already created.