[patch] Allow SlugFields longer than 50
|Reported by:||anonymous||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I ran in to the hard 50 character SlugField limit while importing my wordpress blog entries to Django. While slugs longer than 50 are probably not desirable, there may be some cases (such as this) where they are required. I've patched trunk as of  to default to a maxlength of 50 but allow that value to be overridden.
It works perfectly for me on Postgres, but it should behave just fine on the other backends too.
I haven't checked out magic-removal yet but can apply these changes there too if that will help.
Change History (5)
Changed 10 years ago by matt
comment:3 Changed 10 years ago by Andy Dustman <farcepest@…>
- Resolution fixed deleted
- Status changed from closed to reopened
- Version changed from SVN to magic-removal