djangosnippets.org: Latest snippets posted by christian.oudardhttps://djangosnippets.org/users/christian.oudard/2009-08-25T08:10:16.311591-05:00christian.oudardAuto-rename duplicate fields
2009-08-25T08:10:16.311591-05:00christian.oudardhttps://djangosnippets.org/snippets/1699/<p>This is useful to run before you add a unique key to a character field that has duplicates in it. It just adds numbers to the end of the contents, so they will be unique.</p>
<p>It takes a model class and a field name. The model class can be a …</p>
Freely redistributable